# Google Cloud Dataplex V1 Client - Class DataQualityDimensionResult (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 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** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dimension` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityDimension` Output only. The dimension config specified in the DataQualitySpec, as is. |
| `↳ passed` | `bool` Output only. 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityDimension|null` |   |

### hasDimension

### clearDimension

### setDimension

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityDimension` |

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

### getPassed

Output only. Whether the dimension passed or failed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setPassed

Output only. Whether the dimension passed or failed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$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** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

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