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_agent_import.1
.TH "GCLOUD_ALPHA_DIALOGFLOW_AGENT_IMPORT" 1



.SH "NAME"
.HP
gcloud alpha dialogflow agent import \- import a Dialogflow agent from a zip file



.SH "SYNOPSIS"
.HP
\f5gcloud alpha dialogflow agent import\fR \fB\-\-source\fR=\fISOURCE\fR [\fB\-\-async\fR] [\fB\-\-replace\-all\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(ALPHA)\fR Import a Dialogflow agent from a ZIP file and upload it to the
agent of the current project. By default, uploads new intents and entity types
without deleting the existing ones. Intents and entity types with the same name
are replaced with the new versions.



.SH "EXAMPLES"

To import local file \f5path/to/agent.zip\fR to the agent of the current
project:

.RS 2m
$ gcloud alpha dialogflow agent import \-\-source="path/to/agent.zip"
.RE

To import \f5agent.zip\fR in Google Storage Bucket \f5mybucket\fR to the agent
of the current project:

.RS 2m
$ gcloud alpha dialogflow agent import \e
    \-\-source="gs://mybucket/agent.zip"
.RE

To import local file \f5path/to/agent.zip\fR to the agent of the current project
and replace all existing resources in the agent:

.RS 2m
$ gcloud alpha dialogflow agent import \e
    \-\-source="path/to/agent.zip" \-\-replace\-all
.RE



.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-source\fR=\fISOURCE\fR

Path to a file or the URI to a Google Cloud Storage file containing the agent to
import. Note: A URI must start with "gs://".


.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-async\fR

Return immediately, without waiting for the operation in progress to complete.

.TP 2m
\fB\-\-replace\-all\fR

If true, replace the current agent version with a new one. All the intents and
entity types in the older version will be deleted.


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