Loading...
Loading...
Finds and inspects data assets within Google Cloud. Relevant when any of the following conditions are true: 1. The user request involves finding, exploring, or inspecting data assets in Google Cloud, such as: - BigQuery datasets, tables, or views - BigLake catalog or tables - Spanner instances, databases or tables - etc. 2. You need to retrieve the schema, metadata, or governance policies for a GCP data asset. 3. You have a keyword or topic (e.g., "sales data") but lack the specific table or resource ID. 4. You are attempting to find data using `bq ls`, as this skill offers a superior approach. Don't use when: - Assets are outside Google Cloud
npx skill4agent add gemini-cli-extensions/data-agent-kit-starter-pack discovering-gcp-data-assetsbigquery-public-databqprojects/...my_dataset.my_table[!IMPORTANT] Theparameter MUST ALWAYS be provided. This project_id is used to attribute the search only and does NOT restrict the search scope. The project must have the dataplex API enabled and user must have the--projectpermissions.dataplex.entries.get
search_entriesgcloud dataplex entries search "<NATURAL_LANGUAGE_QUERY>" \
--project="<PROJECT_ID>" \
--semantic-search \
--limit=50name:order_v2ANDORlabels.labels.env=prodlabel.label.env=prod|,projectid:(prod|staging)column:(id,name):name:sales=systemtypelocationparentparent:projects/<PROJECT_ID>name:xdisplayname:xprojectid:xparent:xprojects/my-projlocation=xus-central1uscolumn:xsystem=xbigquerystoragebiglakecloud_sqlcloud_spannercloud_bigtablepubsubtype=xbigquery-tablestorage-bucketstorage-folderlabels.key=valuelabel.key=valuecreatetime[>|<|=]xYYYY-MM-DDfully_qualified_name=xbigquery:project.dataset.table[!TIP] Dataplex search results rely on metadata being ingested into the Universal Catalog (often via Discovery Scans). If an asset is missing from search, it may not be indexed. - Fallback 1: Try searching by thequalifier. - Fallback 2: Use native tools (e.g.,fully_qualified_name,bq show) or specific skills for that asset type if you already know the ID.gcloud storage
gcloud dataplex entries search "<KEYWORD_SEARCH_QUERY>" \
--project="<PROJECT_ID>" \
--limit=50[!IMPORTANT] The argument MUST be the name (starting with) returned by the search result. Passing short table IDs, GCS URIs, or fully qualifiedprojects/prefixes is PROHIBITED and will fail.bigquery:
lookup_entrygcloud dataplex entries lookup "<FULL_ENTRY_NAME>"projects/bigquery-public-dataentries lookupbq--project <PROJECT_ID>--project <PROJECT_ID>