Google Cloud Dataplex V1 Client - Class DataQualityResult (0.11.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ passed bool

Overall data quality result -- true if all rules passed.

↳ dimensions array<Google\Cloud\Dataplex\V1\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.

↳ 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.

↳ post_scan_actions_result Google\Cloud\Dataplex\V1\DataQualityResult\PostScanActionsResult

Output only. The result of post scan actions.

getPassed

Overall data quality result -- true if all rules passed.

Returns
TypeDescription
bool

setPassed

Overall data quality result -- true if all rules passed.

Parameter
NameDescription
var bool
Returns
TypeDescription
$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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

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.

Parameter
NameDescription
var array<Google\Cloud\Dataplex\V1\DataQualityDimensionResult>
Returns
TypeDescription
$this

getRules

A list of all the rules in a job, and their results.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRules

A list of all the rules in a job, and their results.

Parameter
NameDescription
var array<Google\Cloud\Dataplex\V1\DataQualityRuleResult>
Returns
TypeDescription
$this

getRowCount

The count of rows processed.

Returns
TypeDescription
int|string

setRowCount

The count of rows processed.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getScannedData

The data scanned for this result.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\ScannedData|null

hasScannedData

clearScannedData

setScannedData

The data scanned for this result.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\ScannedData
Returns
TypeDescription
$this

getPostScanActionsResult

Output only. The result of post scan actions.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DataQualityResult\PostScanActionsResult|null

hasPostScanActionsResult

clearPostScanActionsResult

setPostScanActionsResult

Output only. The result of post scan actions.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DataQualityResult\PostScanActionsResult
Returns
TypeDescription
$this