Class: Google::Apis::RetailV2::GoogleCloudRetailV2TuneModelMetadata
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2TuneModelMetadata
- 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 tune operation.
Instance Attribute Summary collapse
-
#model ⇒ String
The resource name of the model that this tune applies to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2TuneModelMetadata
constructor
A new instance of GoogleCloudRetailV2TuneModelMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2TuneModelMetadata
Returns a new instance of GoogleCloudRetailV2TuneModelMetadata.
5643 5644 5645 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5643 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
The resource name of the model that this tune applies to. Format: projects/
project_number/locations/
location_id/catalogs/
catalog_id/models/
model_id
Corresponds to the JSON property model
5641 5642 5643 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5641 def model @model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5648 5649 5650 |
# File 'lib/google/apis/retail_v2/classes.rb', line 5648 def update!(**args) @model = args[:model] if args.key?(:model) end |