Back to Genai Toolbox

dataplex-search-dq-scans

docs/en/integrations/knowledge-catalog/tools/knowledge-catalog-search-dq-scans.md

1.5.02.7 KB
Original Source

About

A dataplex-search-dq-scans tool returns data quality scans that match the given criteria.

Compatible Sources

{{< compatible-sources >}}

Requirements

IAM Permissions

Dataplex uses Identity and Access Management (IAM) to control user and group access to Dataplex resources. Toolbox will use your Application Default Credentials (ADC) to authorize and authenticate when interacting with Dataplex.

In addition to setting the ADC for your server, you need to ensure the IAM identity has been given the correct IAM permissions for the tasks you intend to perform. See Dataplex Universal Catalog IAM permissions and Dataplex Universal Catalog IAM roles for more information on applying IAM permissions and roles to an identity.

Parameters

The dataplex-search-dq-scans tool accepts the following optional parameters:

fieldtyperequireddescription
filterstringfalseFilter string to search/filter data quality scans (e.g. display_name = "my-scan").
data_scan_idstringfalseThe resource name of the data scan to filter by (projects/{project}/locations/{locationId}/dataScans/{dataScanId}).
table_namestringfalseThe name of the table to filter by, mapping to data.entity (e.g. //bigquery.googleapis.com/projects/P/datasets/D/tables/T).
pageSizeintegerfalseNumber of returned data quality scans in the page. Defaults to 10.
orderBystringfalseSpecifies ordering of results.

Example

yaml
kind: tools
name: dataplex-search-dq-scans
type: dataplex-search-dq-scans
source: my-dataplex-source
description: Use this tool to search for data quality scans.

Reference

fieldtyperequireddescription
typestringtrueMust be "dataplex-search-dq-scans".
sourcestringtrueName of the source the tool should execute on.
descriptionstringtrueDescription of the tool that is passed to the LLM.