Class: Google::Apis::PredictionV1_2::Training
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_2::Training
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/prediction_v1_2/classes.rb,
generated/google/apis/prediction_v1_2/representations.rb,
generated/google/apis/prediction_v1_2/representations.rb
Defined Under Namespace
Classes: ModelInfo
Instance Attribute Summary collapse
-
#id ⇒ String
Corresponds to the JSON property
id
. -
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#model_info ⇒ Google::Apis::PredictionV1_2::Training::ModelInfo
Corresponds to the JSON property
modelInfo
. -
#self_link ⇒ String
Corresponds to the JSON property
selfLink
. -
#training_status ⇒ String
Corresponds to the JSON property
trainingStatus
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Training
constructor
A new instance of Training.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Training
Returns a new instance of Training
166 167 168 |
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 166 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
144 145 146 |
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 144 def id @id end |
#kind ⇒ String
Corresponds to the JSON property kind
149 150 151 |
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 149 def kind @kind end |
#model_info ⇒ Google::Apis::PredictionV1_2::Training::ModelInfo
Corresponds to the JSON property modelInfo
154 155 156 |
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 154 def model_info @model_info end |
#self_link ⇒ String
Corresponds to the JSON property selfLink
159 160 161 |
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 159 def self_link @self_link end |
#training_status ⇒ String
Corresponds to the JSON property trainingStatus
164 165 166 |
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 164 def training_status @training_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
171 172 173 174 175 176 177 |
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 171 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @model_info = args[:model_info] if args.key?(:model_info) @self_link = args[:self_link] if args.key?(:self_link) @training_status = args[:training_status] if args.key?(:training_status) end |