Class: Google::Apis::RetailV2::GoogleCloudRetailV2betaCreateModelMetadata
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2betaCreateModelMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2/classes.rb,
lib/google/apis/retail_v2/representations.rb,
lib/google/apis/retail_v2/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) ⇒ GoogleCloudRetailV2betaCreateModelMetadata
constructor
A new instance of GoogleCloudRetailV2betaCreateModelMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaCreateModelMetadata
Returns a new instance of GoogleCloudRetailV2betaCreateModelMetadata.
8043 8044 8045 |
# File 'lib/google/apis/retail_v2/classes.rb', line 8043 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
8041 8042 8043 |
# File 'lib/google/apis/retail_v2/classes.rb', line 8041 def model @model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8048 8049 8050 |
# File 'lib/google/apis/retail_v2/classes.rb', line 8048 def update!(**args) @model = args[:model] if args.key?(:model) end |