Class: Google::Apis::BigqueryV2::ModelDefinition

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: ModelOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModelDefinition

Returns a new instance of ModelDefinition.



7222
7223
7224
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7222

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

Instance Attribute Details

#model_optionsGoogle::Apis::BigqueryV2::ModelDefinition::ModelOptions

Deprecated. Corresponds to the JSON property modelOptions



7215
7216
7217
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7215

def model_options
  @model_options
end

#training_runsArray<Google::Apis::BigqueryV2::BqmlTrainingRun>

Deprecated. Corresponds to the JSON property trainingRuns



7220
7221
7222
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7220

def training_runs
  @training_runs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7227
7228
7229
7230
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7227

def update!(**args)
  @model_options = args[:model_options] if args.key?(:model_options)
  @training_runs = args[:training_runs] if args.key?(:training_runs)
end