Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig

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

Additional feature configurations for creating a recommended-for-you engine.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig

Returns a new instance of GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig.



4420
4421
4422
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4420

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

Instance Attribute Details

#context_event_typeString

The type of event with which the engine is queried at prediction time. If set to generic, only view-item, media-play,and media-complete will be used as context-event in engine training. If set to view-home-page, view-home- page will also be used as context-events in addition to view-item, media- play, and media-complete. Currently supported for the recommended-for-you engine. Currently supported values: view-home-page, generic. Corresponds to the JSON property contextEventType

Returns:

  • (String)


4418
4419
4420
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4418

def context_event_type
  @context_event_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4425
4426
4427
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4425

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