Skip to content

Commit da536e9

Browse files
feat: [dataplex] added DataQualityResult.score, dimension_score, column_score (#4835)
* feat: added DataQualityResult.score, dimension_score, column_score feat: new event types GOVERNANCE_RULE_MATCHED_RESOURCES, GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS, GOVERNANCE_RULE_ERRORS chore: updated service and timeout settings PiperOrigin-RevId: 583444130 Source-Link: googleapis/googleapis@2f91fd5 Source-Link: googleapis/googleapis-gen@84ec5be Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFwbGV4Ly5Pd2xCb3QueWFtbCIsImgiOiI4NGVjNWJlOTg4MTlmMmI3ZTRiOGJiYWNhZGUyNjhlZjUwMGJmN2YwIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 823df1e commit da536e9

4 files changed

Lines changed: 3015 additions & 124 deletions

File tree

packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/logs.proto

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,15 @@ message GovernanceEvent {
382382

383383
// Access policy update event.
384384
ACCESS_POLICY_UPDATE = 14;
385+
386+
// Number of resources matched with particular Query.
387+
GOVERNANCE_RULE_MATCHED_RESOURCES = 15;
388+
389+
// Rule processing exceeds the allowed limit.
390+
GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS = 16;
391+
392+
// Rule processing errors.
393+
GOVERNANCE_RULE_ERRORS = 17;
385394
}
386395

387396
// The log message.
@@ -475,6 +484,28 @@ message DataScanEvent {
475484
// The value is the bool value depicting whether the dimension result was
476485
// `pass` or not.
477486
map<string, bool> dimension_passed = 3;
487+
488+
// The table-level data quality score for the data scan job.
489+
//
490+
// The data quality score ranges between [0, 100] (up to two decimal
491+
// points).
492+
float score = 4;
493+
494+
// The score of each dimension for data quality result.
495+
// The key of the map is the name of the dimension.
496+
// The value is the data quality score for the dimension.
497+
//
498+
// The score ranges between [0, 100] (up to two decimal
499+
// points).
500+
map<string, float> dimension_score = 5;
501+
502+
// The score of each column scanned in the data scan job.
503+
// The key of the map is the name of the column.
504+
// The value is the data quality score for the column.
505+
//
506+
// The score ranges between [0, 100] (up to two decimal
507+
// points).
508+
map<string, float> column_score = 6;
478509
}
479510

480511
// Applied configs for data profile type data scan job.

0 commit comments

Comments
 (0)