Google Cloud Dataplex V1 Client - Class DataQualityDimensionResult (0.13.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
NameDescription
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
TypeDescription
Google\Cloud\Dataplex\V1\DataQualityDimension|null

hasDimension

clearDimension

setDimension

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

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

getPassed

Whether the dimension passed or failed.

Returns
TypeDescription
bool

setPassed

Whether the dimension passed or failed.

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