Google Cloud Discovery Engine V1beta Client - Class QueryClassificationSpec (0.11.3)

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

Query classification specification.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ 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