- NAME
-
- gcloud alpha dataplex entries lookup - lookup a Dataplex entry
- SYNOPSIS
-
-
gcloud alpha dataplex entries lookup(ENTRY:--entry-group=ENTRY_GROUP--location=LOCATION) [--aspect-types=[ASPECT_TYPES,…]] [--paths=[PATHS,…]] [--view=VIEW] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Lookup a Dataplex entry.Displays the details of a Dataplex entry resource given a valid entry ID. Unlike
describe, where the Dataplex permission is required for access, forlookupthe permission from the original source system is required on the entry instead. For example, if the source is a BigQuery table, you need thebigquery.tables.getpermission to lookup an entry. - EXAMPLES
-
To lookup a Dataplex entry
entry1within entry groupentry-group1in locationus-central1, run:gcloud alpha dataplex entries lookup entry1 --entry-group=entry-group1 --location=us-central1 --project=test-project - POSITIONAL ARGUMENTS
-
-
Entry resource - Arguments and flags that define the Dataplex Entry you want to
lookup. The arguments in this group can be used to specify the attributes of
this resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
To set the
projectattribute:-
provide the argument
entryon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
ENTRY-
ID of the entry or fully qualified identifier for the entry.
To set the
entryattribute:-
provide the argument
entryon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--entry-group=ENTRY_GROUP-
Entry group containing Dataplex Entries.
To set the
entry-groupattribute:-
provide the argument
entryon the command line with a fully specified name; -
provide the argument
--entry-groupon the command line.
-
provide the argument
--location=LOCATION-
Location of the Dataplex resource.
To set the
locationattribute:-
provide the argument
entryon the command line with a fully specified name; -
provide the argument
--locationon the command line; -
set the property
dataplex/location.
-
provide the argument
-
provide the argument
-
Entry resource - Arguments and flags that define the Dataplex Entry you want to
lookup. The arguments in this group can be used to specify the attributes of
this resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
- FLAGS
-
--aspect-types=[ASPECT_TYPES,…]-
Limits the aspects returned to the provided aspect types. Only works if the
--view=customis selected.For example, if two aspect types are specified: "projects/projectA/locations/us-central1/my-aspect-type,projects/projectB/locations/us/my-aspect-type2" then only aspects matching these aspect types will be returned.
Can be further constrained by the
--pathsargument. --paths=[PATHS,…]-
Limits the aspects returned to those associated with the provided paths within
the Entry. Only works if the
--view=customis selected.For example, if two paths are specified: "--paths=property1,property2" then only aspects on these paths will be returned.
To return aspects without any path, the empty (root) path can be specified. For this "." can be used. For example, when "--paths=.,property1" are specified, then only aspects on the path "property1" and on the entry itself will be returned.
Can be further constrained by
--aspect-typesargument. --view=VIEW-
Controls which parts of an entry are to be returned.
VIEWmust be one of:all- Returns all aspects. If the number of aspects would exceed 100, the first 100 will be returned.
basic- Returns entry only, without aspects.
custom-
Returns aspects filtered based on
--aspect-typesAND--pathsarguments specified. When used, at least one of--aspect-typesand--pathsarguments must be specified. If the number of aspects would exceed 100, the first 100 will be returned. full- Default value. Returns all required aspects, as well as the keys of all non-required aspects.
- 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 helpfor details. - API REFERENCE
-
This command uses the
dataplex/v1API. The full documentation for this API can be found at: https://cloud.google.com/dataplex/docs - 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. This variant is also available:
gcloud dataplex entries lookup
gcloud alpha dataplex entries lookup
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 2025-05-07 UTC.