Google Cloud Discovery Engine V1 Client - Class MatchOperator (1.3.2)

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 \ SuggestionDenyListEntry

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

MATCH_OPERATOR_UNSPECIFIED

Value: 0

Default value. Should not be used

Generated from protobuf enum MATCH_OPERATOR_UNSPECIFIED = 0;

EXACT_MATCH

Value: 1

If the suggestion is an exact match to the block_phrase, then block it.

Generated from protobuf enum EXACT_MATCH = 1;

CONTAINS

Value: 2

If the suggestion contains the block_phrase, then block it.

Generated from protobuf enum CONTAINS = 2;