Google Cloud Dataplex V1 Client - Class DataQualityResult (0.3.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

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.

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