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.



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

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

Instance Attribute Details

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

Deprecated. Corresponds to the JSON property iterationResults



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

def iteration_results
  @iteration_results
end

#start_timeDateTime

Deprecated. Corresponds to the JSON property startTime

Returns:

  • (DateTime)


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

def start_time
  @start_time
end

#stateString

Deprecated. Corresponds to the JSON property state

Returns:

  • (String)


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

def state
  @state
end

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

Deprecated. Corresponds to the JSON property trainingOptions



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

def training_options
  @training_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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