Google Cloud Discovery Engine V1 Client - Class QueryClassificationSpec (1.2.0)

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

Query classification specification.

Generated from protobuf message google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ AnswerQueryRequest \ QueryUnderstandingSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ types array

Enabled query classification types.

getTypes

Enabled query classification types.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTypes

Enabled query classification types.

Parameter
Name Description
var int[]
Returns
Type Description
$this