# Google Cloud Dialogflow V2 Client - Class TriggerEvent (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 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;`