Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class TriggerEvent.
The event that triggers the generator and LLM execution.
Protobuf type google.cloud.dialogflow.v2.TriggerEvent
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TRIGGER_EVENT_UNSPECIFIED
Value: 0Default value for TriggerEvent.
Generated from protobuf enum TRIGGER_EVENT_UNSPECIFIED = 0;
END_OF_UTTERANCE
Value: 1Triggers when each chat message or voice utterance ends.
Generated from protobuf enum END_OF_UTTERANCE = 1;
MANUAL_CALL
Value: 2Triggers on the conversation manually by API calls, such as Conversations.GenerateStatelessSuggestion and Conversations.GenerateSuggestions.
Generated from protobuf enum MANUAL_CALL = 2;
CUSTOMER_MESSAGE
Value: 3Triggers after each customer message only.
Generated from protobuf enum CUSTOMER_MESSAGE = 3;
AGENT_MESSAGE
Value: 4Triggers after each agent message only.
Generated from protobuf enum AGENT_MESSAGE = 4;