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.



12111
12112
12113
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12111

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



12104
12105
12106
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12104

def most_popular_config
  @most_popular_config
end

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



12109
12110
12111
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12109

def recommended_for_you_config
  @recommended_for_you_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12116
12117
12118
12119
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12116

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