Google Cloud Dialogflow V2 Client - Class IntentBatch (1.12.3)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class IntentBatch.

This message is a wrapper around a collection of intents.

Generated from protobuf message google.cloud.dialogflow.v2.IntentBatch

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ intents array<Google\Cloud\Dialogflow\V2\Intent>

A collection of intents.

getIntents

A collection of intents.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIntents

A collection of intents.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\V2\Intent>
Returns
Type Description
$this