Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList
- 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
-
#serving_config_ids ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaModelServingConfigList
constructor
A new instance of GoogleCloudRetailV2alphaModelServingConfigList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaModelServingConfigList
Returns a new instance of GoogleCloudRetailV2alphaModelServingConfigList.
2084 2085 2086 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2084 def initialize(**args) update!(**args) end |
Instance Attribute Details
#serving_config_ids ⇒ Array<String>
Optional. A set of valid serving configs that may be used for
PAGE_OPTIMIZATION
.
Corresponds to the JSON property servingConfigIds
2082 2083 2084 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2082 def serving_config_ids @serving_config_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2089 2090 2091 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2089 def update!(**args) @serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids) end |