Google Cloud Dialogflow V2 Client - Class Type (1.6.0)

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
NameDescription
value mixed

static::value

Parameter
NameDescription
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];