- JSON representation
- PostScanActions
- BigQueryExport
- NotificationReport
- Recipients
- ScoreThresholdTrigger
- JobFailureTrigger
- JobEndTrigger
DataQualityScan related setting.
JSON representation |
---|
{ "rules": [ { object ( |
Fields | |
---|---|
rules[] |
Required. The list of rules to evaluate against a data source. At least one rule is required. |
sampling |
Optional. The percentage of the records to be selected from the dataset for DataScan.
|
row |
Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10 |
post |
Optional. Actions to take upon job completion. |
PostScanActions
The configuration of post scan actions of DataQualityScan.
JSON representation |
---|
{ "bigqueryExport": { object ( |
Fields | |
---|---|
bigquery |
Optional. If set, results will be exported to the provided BigQuery table. |
notification |
Optional. If set, results will be sent to the provided notification receipts upon triggers. |
BigQueryExport
The configuration of BigQuery export post scan action.
JSON representation |
---|
{ "resultsTable": string } |
Fields | |
---|---|
results |
Optional. The BigQuery table to export DataQualityScan results to. Format: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID |
NotificationReport
The configuration of notification report post scan action.
JSON representation |
---|
{ "recipients": { object ( |
Fields | |
---|---|
recipients |
Required. The recipients who will receive the notification report. |
score |
Optional. If set, report will be sent when score threshold is met. |
job |
Optional. If set, report will be sent when a scan job fails. |
job |
Optional. If set, report will be sent when a scan job ends. |
Recipients
The individuals or groups who are designated to receive notifications upon triggers.
JSON representation |
---|
{ "emails": [ string ] } |
Fields | |
---|---|
emails[] |
Optional. The email recipients who will receive the DataQualityScan results report. |
ScoreThresholdTrigger
This trigger is triggered when the DQ score in the job result is less than a specified input score.
JSON representation |
---|
{ "scoreThreshold": number } |
Fields | |
---|---|
score |
Optional. The score range is in [0,100]. |
JobFailureTrigger
This type has no fields.
This trigger is triggered when the scan job itself fails, regardless of the result.
JobEndTrigger
This type has no fields.
This trigger is triggered whenever a scan job run ends, regardless of the result.