Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaServingConfigMediaConfig

Specifies the configurations needed for Media Discovery. Currently we support: * demote_content_watched: Threshold for watched content demotion. Customers can specify if using watched content demotion or use viewed detail page. Using the content watched demotion, customers need to specify the watched minutes or percentage exceeds the threshold, the content will be demoted in the recommendation result. * promote_fresh_content: cutoff days for fresh content promotion. Customers can specify if using content freshness promotion. If the content was published within the cutoff days, the content will be promoted in the recommendation result. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaServingConfigMediaConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaServingConfigMediaConfig : IDirectResponseSchema

Properties

ContentFreshnessCutoffDays

Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days.

Declaration
[JsonProperty("contentFreshnessCutoffDays")]
public virtual int? ContentFreshnessCutoffDays { get; set; }
Property Value
Type Description
int?

ContentWatchedPercentageThreshold

Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive.

Declaration
[JsonProperty("contentWatchedPercentageThreshold")]
public virtual float? ContentWatchedPercentageThreshold { get; set; }
Property Value
Type Description
float?

ContentWatchedSecondsThreshold

Specifies the content watched minutes threshold for demotion.

Declaration
[JsonProperty("contentWatchedSecondsThreshold")]
public virtual float? ContentWatchedSecondsThreshold { get; set; }
Property Value
Type Description
float?

DemoteContentWatchedPastDays

Optional. Specifies the number of days to look back for demoting watched content. If set to zero or unset, defaults to the maximum of 365 days.

Declaration
[JsonProperty("demoteContentWatchedPastDays")]
public virtual int? DemoteContentWatchedPastDays { get; set; }
Property Value
Type Description
int?

DemotionEventType

Specifies the event type used for demoting recommendation result. Currently supported values: * view-item: Item viewed. * media-play: Start/resume watching a video, playing a song, etc. * media-complete: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied.

Declaration
[JsonProperty("demotionEventType")]
public virtual string DemotionEventType { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX