Google Cloud Dialogflow V2 Client - Class EntityTypeBatch (1.10.2)

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

Namespace

Google \ Cloud \ Dialogflow \ V2

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