gcloud alpha data-catalog taxonomies export - export a list of taxonomies from a certain project
gcloud alpha data-catalog taxonomies export TAXONOMIES --location=LOCATION [GCLOUD_WIDE_FLAG ...]
(ALPHA) Export a list of taxonomies from a certain project.
To export 'TAXONOMY1' and 'TAXONOMY2' from your project within location LOCATION and render the export on the command line:
$ gcloud alpha data-catalog taxonomies export \ "TAXONOMY1,TAXONOMY2" --location=LOCATION
To export 'TAXONOMY1' and 'TAXONOMY2' from your project within location LOCATION and store the export into a file "/path/file.yaml":
$ gcloud alpha data-catalog taxonomies export \ "TAXONOMY1,TAXONOMY2" --location=LOCATION > /path/file.yaml
- TAXONOMIES
List of taxonomies to bring.
- Location resource - Location to export taxonomies from. This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the project attribute:
- —
provide the argument --location on the command line with a fully specified name;
- —
provide the argument --project on the command line;
- —
set the property core/project.
This must be specified.
- --location=LOCATION
ID of the location or fully qualified identifier for the location. To set the location attribute:
provide the argument --location on the command line.
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 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. These variants are also available:
$ gcloud data-catalog taxonomies export
$ gcloud beta data-catalog taxonomies export