Google Cloud Dialogflow V2 Client - Class Role (1.4.0)

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

Enumeration of the roles a participant can play in a conversation.

Protobuf type google.cloud.dialogflow.v2.Participant.Role

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

ROLE_UNSPECIFIED

Value: 0

Participant role not set.

Generated from protobuf enum ROLE_UNSPECIFIED = 0;

HUMAN_AGENT

Value: 1

Participant is a human agent.

Generated from protobuf enum HUMAN_AGENT = 1;

AUTOMATED_AGENT

Value: 2

Participant is an automated agent, such as a Dialogflow agent.

Generated from protobuf enum AUTOMATED_AGENT = 2;

END_USER

Value: 3

Participant is an end user that has called or chatted with Dialogflow services.

Generated from protobuf enum END_USER = 3;