Google Cloud Dialogflow V2 Client - Class IntentBatch (1.4.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIntents

A collection of intents.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\V2\Intent>
Returns
TypeDescription
$this