# DisplaySpec

- [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/DisplaySpec#SCHEMA_REPRESENTATION)
- [MatchHighlightingCondition](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/DisplaySpec#MatchHighlightingCondition)

Specifies features for display, like match highlighting.

| JSON representation |
|---|
| ``` { "matchHighlightingCondition": enum (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/DisplaySpec#MatchHighlightingCondition`) } ``` |

| Fields ||
|---|---|
| `matchHighlightingCondition` | ``enum (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/DisplaySpec#MatchHighlightingCondition`)`` The condition under which match highlighting should occur. |

## MatchHighlightingCondition

Enum describing under which condition match highlighting should occur.

| Enums ||
|---|---|
| `MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED` | Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`. |
| `MATCH_HIGHLIGHTING_DISABLED` | Disables match highlighting on all documents. |
| `MATCH_HIGHLIGHTING_ENABLED` | Enables match highlighting on all documents. |