Google Cloud Dialogflow V2 Client - Class EntityTypeBatch (1.2.0)

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

This message is a wrapper around a collection of entity types.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity_types array<Google\Cloud\Dialogflow\V2\EntityType>

A collection of entity types.

getEntityTypes

A collection of entity types.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEntityTypes

A collection of entity types.

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