- gcloud alpha data-catalog entries lookup - lookup a Cloud Data Catalog entry by its target name
(ALPHA)Lookup a Cloud Data Catalog entry by its target name.
- POSITIONAL ARGUMENTS
- The name of the target resource to lookup. This can be either the Google Cloud Platform resource name or the SQL name of a Google Cloud Platform resource. SQL names follow Standard SQL lexical structure: https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical
- GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account,
--log-http, --project, --quiet, --trace-token, --user-output-enabled,
$ gcloud helpfor details.
- API REFERENCE
This command uses the
datacatalog/v1beta1API. The full documentation for this API can be found at: https://cloud.google.com/data-catalog/docs/
To lookup the entry for a Cloud Pub/Sub topic by its Google Cloud Platform
resource name, run:
$ gcloud alpha data-catalog entries lookup \ //pubsub.googleapis.com/projects/project1/topics/topic1
To lookup the entry for a Cloud Pub/Sub topic by its SQL name, run:
$ gcloud alpha data-catalog entries lookup \ 'pubsub.topic.`my-project1`.topic1'
To lookup the entry for a BigQuery table by its SQL name, run:
$ gcloud alpha data-catalog entries lookup \ 'bigquery.table.`my-project1`.my_dataset.my_table'
- This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access whitelist. These variants are also available:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-03-10.