Discovery Engine v1beta API - Class SuggestionDenyListEntry (1.0.0-beta13)

public sealed class SuggestionDenyListEntry : IMessage<SuggestionDenyListEntry>, IEquatable<SuggestionDenyListEntry>, IDeepCloneable<SuggestionDenyListEntry>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class SuggestionDenyListEntry.

Suggestion deny list entry identifying the phrase to block from suggestions and the applied operation for the phrase.

Inheritance

object > SuggestionDenyListEntry

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SuggestionDenyListEntry()

public SuggestionDenyListEntry()

SuggestionDenyListEntry(SuggestionDenyListEntry)

public SuggestionDenyListEntry(SuggestionDenyListEntry other)
Parameter
Name Description
other SuggestionDenyListEntry

Properties

BlockPhrase

public string BlockPhrase { get; set; }

Required. Phrase to block from suggestions served. Can be maximum 125 characters.

Property Value
Type Description
string

MatchOperator

public SuggestionDenyListEntry.Types.MatchOperator MatchOperator { get; set; }

Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.

Property Value
Type Description
SuggestionDenyListEntryTypesMatchOperator