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.



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

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

Instance Attribute Details

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

Deprecated. Corresponds to the JSON property iterationResults



1319
1320
1321
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1319

def iteration_results
  @iteration_results
end

#start_timeDateTime

Deprecated. Corresponds to the JSON property startTime

Returns:

  • (DateTime)


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

def start_time
  @start_time
end

#stateString

Deprecated. Corresponds to the JSON property state

Returns:

  • (String)


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

def state
  @state
end

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

Deprecated. Corresponds to the JSON property trainingOptions



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

def training_options
  @training_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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