# Google Cloud Dataplex V1 Client - Class DataQualityResult (1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 0.16.1 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.3 0.1.6 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|https://protobuf.dev/reference/php/api-docs/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|https://protobuf.dev/reference/php/api-docs/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|https://protobuf.dev/reference/php/api-docs/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** |
| `https://protobuf.dev/reference/php/api-docs/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** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **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** |
| `https://protobuf.dev/reference/php/api-docs/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** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **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** |
| `https://protobuf.dev/reference/php/api-docs/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** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |