Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelModelFeaturesConfig

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

Additional model features config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaModelModelFeaturesConfig

Returns a new instance of GoogleCloudRetailV2alphaModelModelFeaturesConfig.



1965
1966
1967
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1965

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

Instance Attribute Details

#frequently_bought_together_configGoogle::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig

Additional configs for the frequently-bought-together model type. Corresponds to the JSON property frequentlyBoughtTogetherConfig



1963
1964
1965
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1963

def frequently_bought_together_config
  @frequently_bought_together_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1970
1971
1972
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1970

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