Class: Google::Apis::BigqueryV2::TrainingRun
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::TrainingRun
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Defined Under Namespace
Classes: TrainingOptions
Instance Attribute Summary collapse
-
#iteration_results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
[Output-only, Beta] List of each iteration results.
-
#start_time ⇒ DateTime
[Output-only, Beta] Training run start time in milliseconds since the epoch.
-
#state ⇒ String
[Output-only, Beta] Different state applicable for a training run.
-
#training_options ⇒ Google::Apis::BigqueryV2::TrainingRun::TrainingOptions
[Output-only, Beta] Training options used by this training run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrainingRun
constructor
A new instance of TrainingRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TrainingRun
Returns a new instance of TrainingRun
3719 3720 3721 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3719 def initialize(**args) update!(**args) end |
Instance Attribute Details
#iteration_results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
[Output-only, Beta] List of each iteration results.
Corresponds to the JSON property iterationResults
3695 3696 3697 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3695 def iteration_results @iteration_results end |
#start_time ⇒ DateTime
[Output-only, Beta] Training run start time in milliseconds since the epoch.
Corresponds to the JSON property startTime
3700 3701 3702 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3700 def start_time @start_time end |
#state ⇒ String
[Output-only, Beta] Different state applicable for a training run. IN PROGRESS:
Training run is in progress. FAILED: Training run ended due to a non-
retryable failure. SUCCEEDED: Training run successfully completed. CANCELLED:
Training run cancelled by the user.
Corresponds to the JSON property state
3708 3709 3710 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3708 def state @state end |
#training_options ⇒ Google::Apis::BigqueryV2::TrainingRun::TrainingOptions
[Output-only, Beta] Training options used by this training run. These options
are mutable for subsequent training runs. Default values are explicitly stored
for options not specified in the input query of the first training run. For
subsequent training runs, any option not explicitly specified in the input
query will be copied from the previous training run.
Corresponds to the JSON property trainingOptions
3717 3718 3719 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3717 def @training_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3724 3725 3726 3727 3728 3729 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3724 def update!(**args) @iteration_results = args[:iteration_results] if args.key?(:iteration_results) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @training_options = args[:training_options] if args.key?(:training_options) end |