Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class MatchHighlightingCondition.
Enum describing under which condition match highlighting should occur.
Protobuf type google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec.MatchHighlightingCondition
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequest \ DisplaySpecMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED
Value: 0
Server behavior is the same as MATCH_HIGHLIGHTING_DISABLED
.
Generated from protobuf enum MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED = 0;
MATCH_HIGHLIGHTING_DISABLED
Value: 1
Disables match highlighting on all documents.
Generated from protobuf enum MATCH_HIGHLIGHTING_DISABLED = 1;
MATCH_HIGHLIGHTING_ENABLED
Value: 2
Enables match highlighting on all documents.
Generated from protobuf enum MATCH_HIGHLIGHTING_ENABLED = 2;