Google Cloud Dataplex V1 Client - Class DataQualityResult (0.13.0)

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
NameDescription
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
TypeDescription
int|string

setRowCount

The count of rows processed in the data scan job.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getPassed

Whether the data quality result was pass or not.

Returns
TypeDescription
bool

setPassed

Whether the data quality result was pass or not.

Parameter
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
Google\Protobuf\Internal\MapField

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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var float
Returns
TypeDescription
$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
TypeDescription
Google\Protobuf\Internal\MapField

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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$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
TypeDescription
Google\Protobuf\Internal\MapField

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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this