Google Cloud Dialogflow V2 Client - Class SkillTriggerEvent (2.8.0)

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

The event that should trigger the skill.

Protobuf type google.cloud.dialogflow.v2.CompanionAgent.SkillConfig.SkillTriggerEvent

Namespace

Google \ Cloud \ Dialogflow \ V2 \ CompanionAgent \ SkillConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SKILL_TRIGGER_EVENT_UNSPECIFIED

Value: 0

Default value for SkillTriggerEvent.

Generated from protobuf enum SKILL_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;