Google Cloud Dialogflow V2 Client - Class BatchUpdateEntityTypesResponse (1.0.1)

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

The response message for EntityTypes.BatchUpdateEntityTypes.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

The collection of updated or created entity types.

getEntityTypes

The collection of updated or created entity types.

Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEntityTypes

The collection of updated or created entity types.

Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;

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