Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaCreateModelMetadata
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaCreateModelMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/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) ⇒ GoogleCloudRetailV2alphaCreateModelMetadata
constructor
A new instance of GoogleCloudRetailV2alphaCreateModelMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaCreateModelMetadata
Returns a new instance of GoogleCloudRetailV2alphaCreateModelMetadata.
1285 1286 1287 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1285 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
1283 1284 1285 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1283 def model @model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1290 1291 1292 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1290 def update!(**args) @model = args[:model] if args.key?(:model) end |