Class: Google::Apis::FirebasemlV2beta::ModelOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::ModelOperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/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.
1471 1472 1473 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#basic_operation_status ⇒ String
Corresponds to the JSON property basicOperationStatus
1463 1464 1465 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1463 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`
1469 1470 1471 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1469 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1476 1477 1478 1479 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1476 def update!(**args) @basic_operation_status = args[:basic_operation_status] if args.key?(:basic_operation_status) @name = args[:name] if args.key?(:name) end |