Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class DisplaySpec.
Specifies features for display, like match highlighting.
Generated from protobuf message google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequestMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ match_highlighting_condition |
int
The condition under which match highlighting should occur. |
getMatchHighlightingCondition
The condition under which match highlighting should occur.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type MatchHighlightingCondition. |
setMatchHighlightingCondition
The condition under which match highlighting should occur.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type MatchHighlightingCondition. |
| Returns | |
|---|---|
| Type | Description |
$this |
|