mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
53 lines
1.8 KiB
Text
53 lines
1.8 KiB
Text
NAME
|
|
gcloud data-catalog entries lookup - lookup a Data Catalog entry by its
|
|
target name
|
|
|
|
SYNOPSIS
|
|
gcloud data-catalog entries lookup RESOURCE [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Lookup a Data Catalog entry by its target name.
|
|
|
|
EXAMPLES
|
|
To lookup the entry for a Cloud Pub/Sub topic by its Google Cloud Platform
|
|
resource name, run:
|
|
|
|
$ gcloud 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 data-catalog entries lookup \
|
|
'pubsub.topic.`my-project1`.topic1'
|
|
|
|
To lookup the entry for a BigQuery table by its SQL name, run:
|
|
|
|
$ gcloud data-catalog entries lookup \
|
|
'bigquery.table.`my-project1`.my_dataset.my_table'
|
|
|
|
POSITIONAL ARGUMENTS
|
|
RESOURCE
|
|
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: --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.
|
|
|
|
API REFERENCE
|
|
This command uses the datacatalog/v1 API. The full documentation for this
|
|
API can be found at: https://cloud.google.com/data-catalog/docs/
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha data-catalog entries lookup
|
|
|
|
$ gcloud beta data-catalog entries lookup
|
|
|