Google Cloud Dataplex V1 Client - Class DataQualityResult (1.7.1)

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

Data quality result for data scan job.

Generated from protobuf message google.cloud.dataplex.v1.DataScanEvent.DataQualityResult

Namespace

Google \ Cloud \ Dataplex \ V1 \ DataScanEvent

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ row_count
int|string

The count of rows processed in the data scan job.

↳ passed
bool

Whether the data quality result was pass or not.

↳ dimension_passed
array| Google\Protobuf\Internal\MapField

The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was pass or not.

↳ score
float

The table-level data quality score for the data scan job. The data quality score ranges between [0, 100] (up to two decimal points).

↳ dimension_score
array| Google\Protobuf\Internal\MapField

The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).

↳ column_score
array| Google\Protobuf\Internal\MapField

The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).

getRowCount

The count of rows processed in the data scan job.

Returns
Type
Description
int|string

setRowCount

The count of rows processed in the data scan job.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getPassed

Whether the data quality result was pass or not.

Returns
Type
Description
bool

setPassed

Whether the data quality result was pass or not.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getDimensionPassed

The result of each dimension for data quality result.

The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was pass or not.

Returns
Type
Description

setDimensionPassed

The result of each dimension for data quality result.

The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was pass or not.

Parameter
Name
Description
Returns
Type
Description
$this

getScore

The table-level data quality score for the data scan job.

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

Returns
Type
Description
float

setScore

The table-level data quality score for the data scan job.

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

Parameter
Name
Description
var
float
Returns
Type
Description
$this

getDimensionScore

The score of each dimension for data quality result.

The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).

Returns
Type
Description

setDimensionScore

The score of each dimension for data quality result.

The key of the map is the name of the dimension. The value is the data quality score for the dimension. The score ranges between [0, 100] (up to two decimal points).

Parameter
Name
Description
Returns
Type
Description
$this

getColumnScore

The score of each column scanned in the data scan job.

The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).

Returns
Type
Description

setColumnScore

The score of each column scanned in the data scan job.

The key of the map is the name of the column. The value is the data quality score for the column. The score ranges between [0, 100] (up to two decimal points).

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: