Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class MatchOperator.
Operator for matching with the generated suggestions.
Protobuf type google.cloud.discoveryengine.v1.SuggestionDenyListEntry.MatchOperator
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SuggestionDenyListEntryMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
MATCH_OPERATOR_UNSPECIFIED
Value: 0Default value. Should not be used
Generated from protobuf enum MATCH_OPERATOR_UNSPECIFIED = 0;
EXACT_MATCH
Value: 1If the suggestion is an exact match to the block_phrase, then block it.
Generated from protobuf enum EXACT_MATCH = 1;
CONTAINS
Value: 2If the suggestion contains the block_phrase, then block it.
Generated from protobuf enum CONTAINS = 2;