Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2ModelServingConfigList

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

Represents an ordered combination of valid serving configs, which can be used for PAGE_OPTIMIZATION recommendations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2ModelServingConfigList

Returns a new instance of GoogleCloudRetailV2ModelServingConfigList.



842
843
844
# File 'lib/google/apis/retail_v2beta/classes.rb', line 842

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

Instance Attribute Details

#serving_config_idsArray<String>

Optional. A set of valid serving configs that may be used for PAGE_OPTIMIZATION. Corresponds to the JSON property servingConfigIds

Returns:

  • (Array<String>)


840
841
842
# File 'lib/google/apis/retail_v2beta/classes.rb', line 840

def serving_config_ids
  @serving_config_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



847
848
849
# File 'lib/google/apis/retail_v2beta/classes.rb', line 847

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