Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelServingConfigList

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

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) ⇒ GoogleCloudRetailV2betaModelServingConfigList

Returns a new instance of GoogleCloudRetailV2betaModelServingConfigList.



8690
8691
8692
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8690

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>)


8688
8689
8690
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8688

def serving_config_ids
  @serving_config_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8695
8696
8697
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8695

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