role property

String? role
getter/setter pair

The role this participant plays in the conversation.

This field must be set during participant creation and is then immutable.

Immutable. Possible string values are:

  • "ROLE_UNSPECIFIED" : Participant role not set.
  • "HUMAN_AGENT" : Participant is a human agent.
  • "AUTOMATED_AGENT" : Participant is an automated agent, such as a Dialogflow agent.
  • "END_USER" : Participant is an end user that has called or chatted with Dialogflow services.

Implementation

core.String? role;