Google Cloud Discovery Engine V1beta Client - Class QueryExpansionSpec (0.3.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class QueryExpansionSpec.

Specification to determine under which conditions query expansion should occur.

Generated from protobuf message google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ SearchRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ condition int

The condition under which query expansion should occur. Default to Condition.DISABLED.

getCondition

The condition under which query expansion should occur. Default to Condition.DISABLED.

Returns
TypeDescription
int

setCondition

The condition under which query expansion should occur. Default to Condition.DISABLED.

Parameter
NameDescription
var int
Returns
TypeDescription
$this