1.0.0-beta25 (latest) 1.0.0-beta24

    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](https://learn.microsoft.com/dotnet/api/system.object) \> SuggestionDenyListEntry

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SuggestionDenyListEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SuggestionDenyListEntry), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SuggestionDenyListEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SuggestionDenyListEntry), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SuggestionDenyListEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SuggestionDenyListEntry), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### SuggestionDenyListEntry()

    public SuggestionDenyListEntry()

### SuggestionDenyListEntry(SuggestionDenyListEntry)

    public SuggestionDenyListEntry(SuggestionDenyListEntry other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SuggestionDenyListEntry` |

## Properties

### BlockPhrase

    public string BlockPhrase { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SuggestionDenyListEntryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SuggestionDenyListEntry.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SuggestionDenyListEntry.Types.MatchOperator` |   |