Class: Google::Apis::BigqueryV2::BqmlTrainingRun

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Defined Under Namespace

Classes: TrainingOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BqmlTrainingRun

Returns a new instance of BqmlTrainingRun.



1342
1343
1344
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1342

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#iteration_resultsArray<Google::Apis::BigqueryV2::BqmlIterationResult>

Deprecated. Corresponds to the JSON property iterationResults



1325
1326
1327
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1325

def iteration_results
  @iteration_results
end

#start_timeDateTime

Deprecated. Corresponds to the JSON property startTime

Returns:

  • (DateTime)


1330
1331
1332
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1330

def start_time
  @start_time
end

#stateString

Deprecated. Corresponds to the JSON property state

Returns:

  • (String)


1335
1336
1337
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1335

def state
  @state
end

#training_optionsGoogle::Apis::BigqueryV2::BqmlTrainingRun::TrainingOptions

Deprecated. Corresponds to the JSON property trainingOptions



1340
1341
1342
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1340

def training_options
  @training_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1347
1348
1349
1350
1351
1352
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1347

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