diff --git a/Dataplex/metadata/V1/Logs.php b/Dataplex/metadata/V1/Logs.php index 2403e46a2b48..c9f0c04655b5 100644 Binary files a/Dataplex/metadata/V1/Logs.php and b/Dataplex/metadata/V1/Logs.php differ diff --git a/Dataplex/src/V1/DataScanEvent/DataQualityResult.php b/Dataplex/src/V1/DataScanEvent/DataQualityResult.php index 5066c538db5d..3ffe5d213dc2 100644 --- a/Dataplex/src/V1/DataScanEvent/DataQualityResult.php +++ b/Dataplex/src/V1/DataScanEvent/DataQualityResult.php @@ -36,6 +36,34 @@ class DataQualityResult extends \Google\Protobuf\Internal\Message * Generated from protobuf field map dimension_passed = 3; */ private $dimension_passed; + /** + * The table-level data quality score for the data scan job. + * The data quality score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field float score = 4; + */ + private $score = 0.0; + /** + * The score of each dimension for data quality result. + * The key of the map is the name of the dimension. + * The value is the data quality score for the dimension. + * The score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field map dimension_score = 5; + */ + private $dimension_score; + /** + * The score of each column scanned in the data scan job. + * The key of the map is the name of the column. + * The value is the data quality score for the column. + * The score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field map column_score = 6; + */ + private $column_score; /** * Constructor. @@ -52,6 +80,22 @@ class DataQualityResult extends \Google\Protobuf\Internal\Message * The key of the map is the name of the dimension. * The value is the bool value depicting whether the dimension result was * `pass` or not. + * @type float $score + * The table-level data quality score for the data scan job. + * The data quality score ranges between [0, 100] (up to two decimal + * points). + * @type array|\Google\Protobuf\Internal\MapField $dimension_score + * The score of each dimension for data quality result. + * The key of the map is the name of the dimension. + * The value is the data quality score for the dimension. + * The score ranges between [0, 100] (up to two decimal + * points). + * @type array|\Google\Protobuf\Internal\MapField $column_score + * The score of each column scanned in the data scan job. + * The key of the map is the name of the column. + * The value is the data quality score for the column. + * The score ranges between [0, 100] (up to two decimal + * points). * } */ public function __construct($data = NULL) { @@ -143,6 +187,104 @@ public function setDimensionPassed($var) return $this; } + /** + * The table-level data quality score for the data scan job. + * The data quality score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field float score = 4; + * @return float + */ + public function getScore() + { + return $this->score; + } + + /** + * The table-level data quality score for the data scan job. + * The data quality score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field float score = 4; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + + /** + * The score of each dimension for data quality result. + * The key of the map is the name of the dimension. + * The value is the data quality score for the dimension. + * The score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field map dimension_score = 5; + * @return \Google\Protobuf\Internal\MapField + */ + public function getDimensionScore() + { + return $this->dimension_score; + } + + /** + * The score of each dimension for data quality result. + * The key of the map is the name of the dimension. + * The value is the data quality score for the dimension. + * The score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field map dimension_score = 5; + * @param array|\Google\Protobuf\Internal\MapField $var + * @return $this + */ + public function setDimensionScore($var) + { + $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::FLOAT); + $this->dimension_score = $arr; + + return $this; + } + + /** + * The score of each column scanned in the data scan job. + * The key of the map is the name of the column. + * The value is the data quality score for the column. + * The score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field map column_score = 6; + * @return \Google\Protobuf\Internal\MapField + */ + public function getColumnScore() + { + return $this->column_score; + } + + /** + * The score of each column scanned in the data scan job. + * The key of the map is the name of the column. + * The value is the data quality score for the column. + * The score ranges between [0, 100] (up to two decimal + * points). + * + * Generated from protobuf field map column_score = 6; + * @param array|\Google\Protobuf\Internal\MapField $var + * @return $this + */ + public function setColumnScore($var) + { + $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::FLOAT); + $this->column_score = $arr; + + return $this; + } + } diff --git a/Dataplex/src/V1/GovernanceEvent/EventType.php b/Dataplex/src/V1/GovernanceEvent/EventType.php index a4c3bedd6eae..76dcc46e2ae1 100644 --- a/Dataplex/src/V1/GovernanceEvent/EventType.php +++ b/Dataplex/src/V1/GovernanceEvent/EventType.php @@ -91,6 +91,24 @@ class EventType * Generated from protobuf enum ACCESS_POLICY_UPDATE = 14; */ const ACCESS_POLICY_UPDATE = 14; + /** + * Number of resources matched with particular Query. + * + * Generated from protobuf enum GOVERNANCE_RULE_MATCHED_RESOURCES = 15; + */ + const GOVERNANCE_RULE_MATCHED_RESOURCES = 15; + /** + * Rule processing exceeds the allowed limit. + * + * Generated from protobuf enum GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS = 16; + */ + const GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS = 16; + /** + * Rule processing errors. + * + * Generated from protobuf enum GOVERNANCE_RULE_ERRORS = 17; + */ + const GOVERNANCE_RULE_ERRORS = 17; private static $valueToName = [ self::EVENT_TYPE_UNSPECIFIED => 'EVENT_TYPE_UNSPECIFIED', @@ -106,6 +124,9 @@ class EventType self::BIGQUERY_POLICY_TAG_DELETE => 'BIGQUERY_POLICY_TAG_DELETE', self::BIGQUERY_POLICY_TAG_SET_IAM_POLICY => 'BIGQUERY_POLICY_TAG_SET_IAM_POLICY', self::ACCESS_POLICY_UPDATE => 'ACCESS_POLICY_UPDATE', + self::GOVERNANCE_RULE_MATCHED_RESOURCES => 'GOVERNANCE_RULE_MATCHED_RESOURCES', + self::GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS => 'GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS', + self::GOVERNANCE_RULE_ERRORS => 'GOVERNANCE_RULE_ERRORS', ]; public static function name($value)