Google Cloud Discovery Engine V1 Client - Class SearchAsYouTypeSpec (1.3.1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SearchAsYouTypeSpec.

Specification for search as you type in search requests.

Generated from protobuf message google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ condition int

The condition under which search as you type should occur. Default to Condition.DISABLED.

getCondition

The condition under which search as you type should occur.

Default to Condition.DISABLED.

Returns
Type Description
int

setCondition

The condition under which search as you type should occur.

Default to Condition.DISABLED.

Parameter
Name Description
var int
Returns
Type Description
$this