Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

More feature configs of the selected engine type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig.



12839
12840
12841
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12839

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

Instance Attribute Details

Feature configurations that are required for creating a Most Popular engine. Corresponds to the JSON property mostPopularConfig



12832
12833
12834
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12832

def most_popular_config
  @most_popular_config
end

Additional feature configurations for creating a recommended-for-you engine. Corresponds to the JSON property recommendedForYouConfig



12837
12838
12839
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12837

def recommended_for_you_config
  @recommended_for_you_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12844
12845
12846
12847
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12844

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