gcloud alpha dialogflow agent export - export the Dialogflow agent to a zip file
gcloud alpha dialogflow agent export --destination=DESTINATION [--async] [GCLOUD_WIDE_FLAG ...]
(ALPHA) Export the Dialogflow agent of the current project to a zip file. The zip file will contain data on all intents and entity types of the agent.
To export the agent of the current project to local file path/to/agent.zip:
$ gcloud alpha dialogflow agent export \ --destination="path/to/agent.zip"
To export the agent of the current project to agent.zip in Google Storage Bucket mybucket:
$ gcloud alpha dialogflow agent export \ --destination="gs://mybucket/agent.zip"
- --destination=DESTINATION
Path to a file or the URI to a Google Cloud Storage to save the agent to. Note: A URI must start with "gs://".
- --async
Return immediately, without waiting for the operation in progress to complete.
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.
This command uses the dialogflow/v2 API. The full documentation for this API can be found at: https://cloud.google.com/dialogflow/
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.