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.



1189
1190
1191
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1189

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

Instance Attribute Details

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

Deprecated. Corresponds to the JSON property iterationResults



1172
1173
1174
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1172

def iteration_results
  @iteration_results
end

#start_timeDateTime

Deprecated. Corresponds to the JSON property startTime

Returns:

  • (DateTime)


1177
1178
1179
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1177

def start_time
  @start_time
end

#stateString

Deprecated. Corresponds to the JSON property state

Returns:

  • (String)


1182
1183
1184
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1182

def state
  @state
end

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

Deprecated. Corresponds to the JSON property trainingOptions



1187
1188
1189
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1187

def training_options
  @training_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1194
1195
1196
1197
1198
1199
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1194

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