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 | |
---|---|
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.
Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setIntents
A collection of intents.
Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dialogflow\V2\Intent>
|
Returns | |
---|---|
Type | Description |
$this |