Class: Google::Apis::FirebasemlV1beta2::ModelOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV1beta2::ModelOperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebaseml_v1beta2/classes.rb,
generated/google/apis/firebaseml_v1beta2/representations.rb,
generated/google/apis/firebaseml_v1beta2/representations.rb
Overview
This is returned in the longrunning operations for create/update.
Instance Attribute Summary collapse
-
#basic_operation_status ⇒ String
Corresponds to the JSON property
basicOperationStatus
. -
#name ⇒ String
The name of the model we are creating/updating The name must have the form
projects/
project_id/models/
model_id`Corresponds to the JSON property
name`.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModelOperationMetadata
constructor
A new instance of ModelOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModelOperationMetadata
Returns a new instance of ModelOperationMetadata.
162 163 164 |
# File 'generated/google/apis/firebaseml_v1beta2/classes.rb', line 162 def initialize(**args) update!(**args) end |
Instance Attribute Details
#basic_operation_status ⇒ String
Corresponds to the JSON property basicOperationStatus
154 155 156 |
# File 'generated/google/apis/firebaseml_v1beta2/classes.rb', line 154 def basic_operation_status @basic_operation_status end |
#name ⇒ String
The name of the model we are creating/updating The name must have the form
projects/
project_id/models/
model_id`
Corresponds to the JSON property
name`
160 161 162 |
# File 'generated/google/apis/firebaseml_v1beta2/classes.rb', line 160 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
167 168 169 170 |
# File 'generated/google/apis/firebaseml_v1beta2/classes.rb', line 167 def update!(**args) @basic_operation_status = args[:basic_operation_status] if args.key?(:basic_operation_status) @name = args[:name] if args.key?(:name) end |