Google Cloud Dialogflow V2 Client - Class TriggerEvent (2.8.0)

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

Event that triggers companion agent skills and guidance instructions.

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

Namespace

Google \ Cloud \ Dialogflow \ V2 \ CompanionAgent

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.

For skill_triggering_event, UNSPECIFIED defaults to CUSTOMER_MESSAGE. For instruction trigger_event, UNSPECIFIED defaults to the skill's skill_triggering_event.

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;

CUSTOMER_MESSAGE

Value: 2

Triggers after each customer message.

Generated from protobuf enum CUSTOMER_MESSAGE = 2;

AGENT_MESSAGE

Value: 3

Triggers after each agent message.

Generated from protobuf enum AGENT_MESSAGE = 3;