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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ passed |
bool
Overall data quality result -- |
↳ dimensions |
array<Google\Cloud\Dataplex\V1\DataQualityDimensionResult>
A list of results at the dimension-level. |
↳ rules |
array<Google\Cloud\Dataplex\V1\DataQualityRuleResult>
A list of all the rules in a job, and their results. |
↳ row_count |
int|string
The count of rows processed. |
↳ scanned_data |
Google\Cloud\Dataplex\V1\ScannedData
The data scanned for this result. |
getPassed
Overall data quality result -- true
if all rules passed.
Returns | |
---|---|
Type | Description |
bool |
setPassed
Overall data quality result -- true
if all rules passed.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getDimensions
A list of results at the dimension-level.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDimensions
A list of results at the dimension-level.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dataplex\V1\DataQualityDimensionResult>
|
Returns | |
---|---|
Type | Description |
$this |
getRules
A list of all the rules in a job, and their results.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRules
A list of all the rules in a job, and their results.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dataplex\V1\DataQualityRuleResult>
|
Returns | |
---|---|
Type | Description |
$this |
getRowCount
The count of rows processed.
Returns | |
---|---|
Type | Description |
int|string |
setRowCount
The count of rows processed.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getScannedData
The data scanned for this result.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataplex\V1\ScannedData|null |
hasScannedData
clearScannedData
setScannedData
The data scanned for this result.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataplex\V1\ScannedData
|
Returns | |
---|---|
Type | Description |
$this |