# 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.

The output of a DataQualityScan.

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

## Namespace

Google \\ Cloud \\ Dataplex \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ passed` | `bool` Output only. Overall data quality result -- `true` if all rules passed. |
| `↳ score` | `float` Output only. The overall data quality score. The score ranges between \[0, 100\] (up to two decimal points). |
| `↳ dimensions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityDimensionResult>` Output only. A list of results at the dimension level. A dimension will have a corresponding `DataQualityDimensionResult` if and only if there is at least one rule with the 'dimension' field set to it. |
| `↳ columns` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityColumnResult>` Output only. A list of results at the column level. A column will have a corresponding `DataQualityColumnResult` if and only if there is at least one rule with the 'column' field set to it. |
| `↳ rules` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRuleResult>` Output only. A list of all the rules in a job, and their results. |
| `↳ row_count` | `int|string` Output only. The count of rows processed. |
| `↳ scanned_data` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.ScannedData` Output only. The data scanned for this result. |
| `↳ post_scan_actions_result` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityResult.PostScanActionsResult` Output only. The result of post scan actions. |
| `↳ catalog_publishing_status` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataScanCatalogPublishingStatus` Output only. The status of publishing the data scan as Dataplex Universal Catalog metadata. |
| `↳ anomaly_detection_generated_assets` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityResult.AnomalyDetectionGeneratedAssets` Output only. The generated assets for anomaly detection. |

### getPassed

Output only. Overall data quality result -- `true` if all rules passed.

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

### setPassed

Output only. Overall data quality result -- `true` if all rules passed.

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

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

### getScore

Output only. The overall data quality score.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### hasScore

### clearScore

### setScore

Output only. The overall data quality score.

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

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

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

### getDimensions

Output only. A list of results at the dimension level.

A dimension will have a corresponding `DataQualityDimensionResult` if and
only if there is at least one rule with the 'dimension' field set to it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityDimensionResult>` |   |

### setDimensions

Output only. A list of results at the dimension level.

A dimension will have a corresponding `DataQualityDimensionResult` if and
only if there is at least one rule with the 'dimension' field set to it.

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

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

### getColumns

Output only. A list of results at the column level.

A column will have a corresponding `DataQualityColumnResult` if and only if
there is at least one rule with the 'column' field set to it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityColumnResult>` |   |

### setColumns

Output only. A list of results at the column level.

A column will have a corresponding `DataQualityColumnResult` if and only if
there is at least one rule with the 'column' field set to it.

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

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

### getRules

Output only. A list of all the rules in a job, and their results.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRuleResult>` |   |

### setRules

Output only. A list of all the rules in a job, and their results.

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

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

### getRowCount

Output only. The count of rows processed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setRowCount

Output only. The count of rows processed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getScannedData

Output only. The data scanned for this result.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.ScannedData|null` |   |

### hasScannedData

### clearScannedData

### setScannedData

Output only. The data scanned for this result.

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

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

### getPostScanActionsResult

Output only. The result of post scan actions.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityResult.PostScanActionsResult|null` |   |

### hasPostScanActionsResult

### clearPostScanActionsResult

### setPostScanActionsResult

Output only. The result of post scan actions.

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

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

### getCatalogPublishingStatus

Output only. The status of publishing the data scan as Dataplex Universal
Catalog metadata.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataScanCatalogPublishingStatus|null` |   |

### hasCatalogPublishingStatus

### clearCatalogPublishingStatus

### setCatalogPublishingStatus

Output only. The status of publishing the data scan as Dataplex Universal
Catalog metadata.

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

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

### getAnomalyDetectionGeneratedAssets

Output only. The generated assets for anomaly detection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataQualityResult.AnomalyDetectionGeneratedAssets|null` |   |

### hasAnomalyDetectionGeneratedAssets

### clearAnomalyDetectionGeneratedAssets

### setAnomalyDetectionGeneratedAssets

Output only. The generated assets for anomaly detection.

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

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