NAME

gcloud alpha dialogflow entity-types create - create a Dialogflow entity type for the agent of the current project

SYNOPSIS

gcloud alpha dialogflow entity-types create --display-name=DISPLAY_NAME [--auto-expand] [--entities=ENTITIES] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(ALPHA) Create a Dialogflow entity type for the agent of the current project.

EXAMPLES

To create an entity type with a display name and entities:

$ gcloud alpha dialogflow entity-types create \ --display-name="color" --entities=red,blue

REQUIRED FLAGS

--display-name=DISPLAY_NAME

A human readable name for the entity type.

OPTIONAL FLAGS

--auto-expand

Whether or not the entity type can be automatically expanded to idenitify entities not explicitly included.

--entities=ENTITIES

Comma separated list of entities, or a map of entities to synonyms.

If a list, the entities can contain references to other entity types (with or without aliases).

To specify a map, set this flag with --flags-file as a map, where each key is the canonical name and each value is a list of synonyms to map to the canonical name. The canonical name must be explicitly included in the list of synonyms. For more information on --flags-file, see gcloud topics flags-file.

For example, use --flags-file=flags.yaml, where flags.yaml contains:

--entities: red: - red - cherry - rose blue: - blue - azure - cyan

For more information, see https://cloud.google.com/dialogflow-enterprise/docs/reference/rest/v2/Entity.

GCLOUD WIDE FLAGS

These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

API REFERENCE

This command uses the dialogflow/v2 API. The full documentation for this API can be found at: https://cloud.google.com/dialogflow/

NOTES

This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.