# Google Cloud Dialogflow V2 Client - Class Type (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 Type.

Represents different types of training phrases.

Protobuf type `google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2 \\ Intent \\ TrainingPhrase

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### TYPE_UNSPECIFIED

    Value: 0

Not specified. This value should never be used.

Generated from protobuf enum `TYPE_UNSPECIFIED = 0;`

### EXAMPLE

    Value: 1

Examples do not contain @-prefixed entity type names, but example parts
can be annotated with entity types.

Generated from protobuf enum `EXAMPLE = 1;`

### TEMPLATE

    Value: 2

Templates are not annotated with entity types, but they can contain
@-prefixed entity type names as substrings.

Template mode has been deprecated. Example mode is the only supported
way to create new training phrases. If you have existing training
phrases that you've created in template mode, those will continue to
work.

Generated from protobuf enum `TEMPLATE = 2 [deprecated = true];`