Class: Google::Apis::FirebasemlV1beta2::ModelOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseml_v1beta2/classes.rb,
lib/google/apis/firebaseml_v1beta2/representations.rb,
lib/google/apis/firebaseml_v1beta2/representations.rb

Overview

This is returned in the longrunning operations for create/update.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModelOperationMetadata

Returns a new instance of ModelOperationMetadata.



199
200
201
# File 'lib/google/apis/firebaseml_v1beta2/classes.rb', line 199

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

Instance Attribute Details

#basic_operation_statusString

Corresponds to the JSON property basicOperationStatus

Returns:

  • (String)


191
192
193
# File 'lib/google/apis/firebaseml_v1beta2/classes.rb', line 191

def basic_operation_status
  @basic_operation_status
end

#nameString

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 propertyname`

Returns:

  • (String)


197
198
199
# File 'lib/google/apis/firebaseml_v1beta2/classes.rb', line 197

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



204
205
206
207
# File 'lib/google/apis/firebaseml_v1beta2/classes.rb', line 204

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