Google Cloud Dataplex V1 Client - Class DataQualityDimensionResult (1.0.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class DataQualityDimensionResult.

DataQualityDimensionResult provides a more detailed, per-dimension view of the results.

Generated from protobuf message google.cloud.dataplex.v1.DataQualityDimensionResult

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dimension Google\Cloud\Dataplex\V1\DataQualityDimension

Output only. The dimension config specified in the DataQualitySpec, as is.

↳ passed bool

Whether the dimension passed or failed.

↳ score float

Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set. The score ranges between [0, 100] (up to two decimal points).

getDimension

Output only. The dimension config specified in the DataQualitySpec, as is.

Returns
Type Description
Google\Cloud\Dataplex\V1\DataQualityDimension|null

hasDimension

clearDimension

setDimension

Output only. The dimension config specified in the DataQualitySpec, as is.

Parameter
Name Description
var Google\Cloud\Dataplex\V1\DataQualityDimension
Returns
Type Description
$this

getPassed

Whether the dimension passed or failed.

Returns
Type Description
bool

setPassed

Whether the dimension passed or failed.

Parameter
Name Description
var bool
Returns
Type Description
$this

getScore

Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set.

The score ranges between [0, 100] (up to two decimal points).

Returns
Type Description
float

hasScore

clearScore

setScore

Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set.

The score ranges between [0, 100] (up to two decimal points).

Parameter
Name Description
var float
Returns
Type Description
$this