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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ intents |
array<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<Intent>
|
Returns | |
---|---|
Type | Description |
$this |