Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelModelFeaturesConfig
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelModelFeaturesConfig
- 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
Additional model features config.
Instance Attribute Summary collapse
-
#frequently_bought_together_config ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
Additional configs for the frequently-bought-together model type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaModelModelFeaturesConfig
constructor
A new instance of GoogleCloudRetailV2alphaModelModelFeaturesConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaModelModelFeaturesConfig
Returns a new instance of GoogleCloudRetailV2alphaModelModelFeaturesConfig.
4374 4375 4376 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frequently_bought_together_config ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
Additional configs for the frequently-bought-together model type.
Corresponds to the JSON property frequentlyBoughtTogetherConfig
4372 4373 4374 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4372 def frequently_bought_together_config @frequently_bought_together_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4379 4380 4381 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4379 def update!(**args) @frequently_bought_together_config = args[:frequently_bought_together_config] if args.key?(:frequently_bought_together_config) end |