Google Cloud Dialogflow V2 Client - Class EntityOperation (2.3.0)

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

Entity CRUD operation specification.

Generated from protobuf message google.cloud.dialogflow.v2.Tool.ConnectorTool.Action.EntityOperation

Namespace

Google \ Cloud \ Dialogflow \ V2 \ Tool \ ConnectorTool \ Action

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ entity_id string

Required. ID of the entity.

↳ operation int

Required. Operation to perform on the entity.

getEntityId

Required. ID of the entity.

Returns
Type Description
string

setEntityId

Required. ID of the entity.

Parameter
Name Description
var string
Returns
Type Description
$this

getOperation

Required. Operation to perform on the entity.

Returns
Type Description
int Enum of type OperationType.

setOperation

Required. Operation to perform on the entity.

Parameter
Name Description
var int

Enum of type OperationType.

Returns
Type Description
$this