Google Cloud Discovery Engine V1 Client - Class DisplaySpec (1.5.0)

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

Methods

__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

setMatchHighlightingCondition

The condition under which match highlighting should occur.

Parameter
Name Description
var int
Returns
Type Description
$this