# Google Cloud Discovery Engine V1 Client - Class MatchHighlightingCondition (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 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 \\ DisplaySpec

## Methods

### 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;`