Class: Google::Apis::RetailV2::GoogleCloudRetailV2TuneModelMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2TuneModelMetadata

Returns a new instance of GoogleCloudRetailV2TuneModelMetadata.



6230
6231
6232
# File 'lib/google/apis/retail_v2/classes.rb', line 6230

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)


6228
6229
6230
# File 'lib/google/apis/retail_v2/classes.rb', line 6228

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6235
6236
6237
# File 'lib/google/apis/retail_v2/classes.rb', line 6235

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