Class: Google::Apis::BigqueryV2::ModelDefinition
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ModelDefinition
- 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
-
#model_options ⇒ Google::Apis::BigqueryV2::ModelDefinition::ModelOptions
Deprecated.
-
#training_runs ⇒ Array<Google::Apis::BigqueryV2::BqmlTrainingRun>
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModelDefinition
constructor
A new instance of ModelDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModelDefinition
Returns a new instance of ModelDefinition.
6732 6733 6734 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_options ⇒ Google::Apis::BigqueryV2::ModelDefinition::ModelOptions
Deprecated.
Corresponds to the JSON property modelOptions
6725 6726 6727 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6725 def @model_options end |
#training_runs ⇒ Array<Google::Apis::BigqueryV2::BqmlTrainingRun>
Deprecated.
Corresponds to the JSON property trainingRuns
6730 6731 6732 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6730 def training_runs @training_runs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6737 6738 6739 6740 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6737 def update!(**args) @model_options = args[:model_options] if args.key?(:model_options) @training_runs = args[:training_runs] if args.key?(:training_runs) end |