HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_dialogflow_intents_create.1
.TH "GCLOUD_ALPHA_DIALOGFLOW_INTENTS_CREATE" 1



.SH "NAME"
.HP
gcloud alpha dialogflow intents create \- create a Dialogflow entity type for the agent of the current project



.SH "SYNOPSIS"
.HP
\f5gcloud alpha dialogflow intents create\fR \fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR [\fB\-\-is\-fallback\fR] [\fB\-\-no\-ml\-enabled\fR] [\fB\-\-other\-properties\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-priority\fR=\fIPRIORITY\fR] [\fB\-\-responses\fR=[\fIRESPONSES\fR,...]] [\fB\-\-training\-phrases\fR=[\fITRAINING_PHRASES\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(ALPHA)\fR Create a Dialogflow intent for the agent of the current project.



.SH "EXAMPLES"

To create an intent with a training phrase and a response:

.RS 2m
$ gcloud alpha dialogflow intents create \e
    \-\-display\-name="test\-intent" \-\-priority=1 \e
    \-\-training\-phrases="example query" \e
    \-\-responses="example response"
.RE



.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR

Human\-readable name for the intent.


.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-is\-fallback\fR

If true, set this intent as a fallback intent.

.TP 2m
\fB\-\-ml\-enabled\fR

If true, enable machine learning for the intent. Enabled by default, use
\fB\-\-no\-ml\-enabled\fR to disable.

.TP 2m
\fB\-\-other\-properties\fR=[\fIKEY\fR=\fIVALUE\fR,...]

Map containing other properties to set on the intent.

For more information on available properties, see:
https://cloud.google.com/dialogflow\-enterprise/docs/reference/rest/v2/projects.agent.intents

To set complex types, specify this flag with \f5\-\-flags\-file\fR. For more
information, see \f5gcloud topics flags\-file\fR.

Other flags take precedence over properties specified here.

.TP 2m
\fB\-\-priority\fR=\fIPRIORITY\fR

Priority of the intent.

Higher numbers represent higher priorities. Zero or negative numbers mean that
the intent is disabled. Default priority is 500000.

.TP 2m
\fB\-\-responses\fR=[\fIRESPONSES\fR,...]

Comma separated list of simple text responses to send to the user.

.TP 2m
\fB\-\-training\-phrases\fR=[\fITRAINING_PHRASES\fR,...]

List of examples or templates.

Can be provided as comma separated unannotated examples or as a list training
phrase objects. To provide training phrase objects, specify the flag with
\f5\-\-flags\-file\fR.

For example, use \f5\-\-flags\-file=flags.yaml\fR, where \f5flags.yaml\fR
contains:

.RS 2m
\-\-training\-phrases:
  \- type: TEMPLATE
    parts:
    \- text: I love the color
    \- text: red
      entityType: <entity_type_id>
      alias: color
.RE

For more information on training phrases, see:
https://cloud.google.com/dialogflow\-enterprise/docs/reference/rest/Shared.Types/Intent#TrainingPhrase

For more information on \f5\-\-flags\-file\fR, see \f5gcloud topics
flags\-file\fR.


.RE
.sp

.SH "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 \fB$ gcloud help\fR for details.



.SH "API REFERENCE"

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



.SH "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.