Discovery Engine v1 API - Class SuggestionDenyListEntry (1.1.0)

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

Reference documentation and code samples for the Discovery Engine v1 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.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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