Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelModelFeaturesConfig
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelModelFeaturesConfig
- 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::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
Additional configs for the frequently-bought-together model type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaModelModelFeaturesConfig
constructor
A new instance of GoogleCloudRetailV2betaModelModelFeaturesConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaModelModelFeaturesConfig
Returns a new instance of GoogleCloudRetailV2betaModelModelFeaturesConfig.
8669 8670 8671 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frequently_bought_together_config ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
Additional configs for the frequently-bought-together model type.
Corresponds to the JSON property frequentlyBoughtTogetherConfig
8667 8668 8669 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8667 def frequently_bought_together_config @frequently_bought_together_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8674 8675 8676 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8674 def update!(**args) @frequently_bought_together_config = args[:frequently_bought_together_config] if args.key?(:frequently_bought_together_config) end |