Reference documentation and code samples for the Google Cloud Dataplex V1 Client class DataQualityResult.
The output of a DataQualityScan.
Generated from protobuf message google.cloud.dataplex.v1.DataQualityResult
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ passed
bool
Overall data quality result -- true
if all rules passed.
↳ score
float
Output only. The overall data quality score. The score ranges between [0, 100] (up to two decimal points).
↳ dimensions
array< DataQualityDimensionResult
>
A list of results at the dimension level. A dimension will have a corresponding DataQualityDimensionResult
if and only if there is at least one rule with the 'dimension' field set to it.
↳ columns
array< DataQualityColumnResult
>
Output only. A list of results at the column level. A column will have a corresponding DataQualityColumnResult
if and only if there is at least one rule with the 'column' field set to it.
↳ rules
↳ row_count
int|string
The count of rows processed.
↳ scanned_data
↳ post_scan_actions_result
getPassed
Overall data quality result -- true
if all rules passed.
bool
setPassed
Overall data quality result -- true
if all rules passed.
var
bool
$this
getScore
Output only. The overall data quality score.
The score ranges between [0, 100] (up to two decimal points).
float
hasScore
clearScore
setScore
Output only. The overall data quality score.
The score ranges between [0, 100] (up to two decimal points).
var
float
$this
getDimensions
A list of results at the dimension level.
A dimension will have a corresponding DataQualityDimensionResult
if and
only if there is at least one rule with the 'dimension' field set to it.
setDimensions
A list of results at the dimension level.
A dimension will have a corresponding DataQualityDimensionResult
if and
only if there is at least one rule with the 'dimension' field set to it.
$this
getColumns
Output only. A list of results at the column level.
A column will have a corresponding DataQualityColumnResult
if and only if
there is at least one rule with the 'column' field set to it.
setColumns
Output only. A list of results at the column level.
A column will have a corresponding DataQualityColumnResult
if and only if
there is at least one rule with the 'column' field set to it.
$this
getRules
A list of all the rules in a job, and their results.
setRules
A list of all the rules in a job, and their results.
$this
getRowCount
The count of rows processed.
int|string
setRowCount
The count of rows processed.
var
int|string
$this
getScannedData
The data scanned for this result.
hasScannedData
clearScannedData
setScannedData
The data scanned for this result.
$this
getPostScanActionsResult
Output only. The result of post scan actions.
hasPostScanActionsResult
clearPostScanActionsResult
setPostScanActionsResult
Output only. The result of post scan actions.
$this