Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2CreateModelMetadata
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2CreateModelMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
Metadata associated with a create operation.
Instance Attribute Summary collapse
-
#model ⇒ String
The resource name of the model that this create applies to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2CreateModelMetadata
constructor
A new instance of GoogleCloudRetailV2CreateModelMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2CreateModelMetadata
Returns a new instance of GoogleCloudRetailV2CreateModelMetadata.
378 379 380 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 378 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
The resource name of the model that this create applies to. Format: projects/
project_number/locations/
location_id/catalogs/
catalog_id/models/
model_id
Corresponds to the JSON property model
376 377 378 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 376 def model @model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
383 384 385 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 383 def update!(**args) @model = args[:model] if args.key?(:model) end |