Google Cloud Dialogflow V2 Client - Class TriggerEvent (2.3.0)

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

The event that should trigger this instruction.

Protobuf type google.cloud.dialogflow.v2.AgentCoachingInstruction.TriggerEvent

Namespace

Google \ Cloud \ Dialogflow \ V2 \ AgentCoachingInstruction

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TRIGGER_EVENT_UNSPECIFIED

Value: 0

Default value for TriggerEvent.

Generated from protobuf enum TRIGGER_EVENT_UNSPECIFIED = 0;

END_OF_UTTERANCE

Value: 1

Triggers when each chat message or voice utterance ends.

Generated from protobuf enum END_OF_UTTERANCE = 1;

MANUAL_CALL

Value: 2

Triggers on the conversation manually by API calls.

Generated from protobuf enum MANUAL_CALL = 2;

CUSTOMER_MESSAGE

Value: 3

Triggers after each customer message.

Generated from protobuf enum CUSTOMER_MESSAGE = 3;

AGENT_MESSAGE

Value: 4

Triggers after each agent message.

Generated from protobuf enum AGENT_MESSAGE = 4;

TOOL_CALL_COMPLETION

Value: 5

Triggers on tool call completion.

Generated from protobuf enum TOOL_CALL_COMPLETION = 5;