Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Engine::MediaRecommendationEngineConfig::RecommendedForYouFeatureConfig.
Additional feature configurations for creating a recommended-for-you
engine.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context_event_type
def context_event_type() -> ::String
Returns
-
(::String) — The type of event with which the engine is queried at prediction time.
If set to
generic
, onlyview-item
,media-play
,andmedia-complete
will be used ascontext-event
in engine training. If set toview-home-page
,view-home-page
will also be used ascontext-events
in addition toview-item
,media-play
, andmedia-complete
. Currently supported for therecommended-for-you
engine. Currently supported values:view-home-page
,generic
.
#context_event_type=
def context_event_type=(value) -> ::String
Parameter
-
value (::String) — The type of event with which the engine is queried at prediction time.
If set to
generic
, onlyview-item
,media-play
,andmedia-complete
will be used ascontext-event
in engine training. If set toview-home-page
,view-home-page
will also be used ascontext-events
in addition toview-item
,media-play
, andmedia-complete
. Currently supported for therecommended-for-you
engine. Currently supported values:view-home-page
,generic
.
Returns
-
(::String) — The type of event with which the engine is queried at prediction time.
If set to
generic
, onlyview-item
,media-play
,andmedia-complete
will be used ascontext-event
in engine training. If set toview-home-page
,view-home-page
will also be used ascontext-events
in addition toview-item
,media-play
, andmedia-complete
. Currently supported for therecommended-for-you
engine. Currently supported values:view-home-page
,generic
.