Google Cloud Dialogflow V2 Client - Class IntentBatch (1.10.2)

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
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