Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTuneModelMetadata

Inherits:
Object
  • Object
show all
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 tune operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaTuneModelMetadata

Returns a new instance of GoogleCloudRetailV2alphaTuneModelMetadata.



6144
6145
6146
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 6144

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

Instance Attribute Details

#modelString

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

Returns:

  • (String)


6142
6143
6144
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 6142

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6149
6150
6151
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 6149

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