# Class DataQualityRuleResult (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

    DataQualityRuleResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

DataQualityRuleResult provides a more detailed, per-rule view
of the results.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `rule` | `google.cloud.dataplex_v1.types.DataQualityRule` Output only. The rule specified in the DataQualitySpec, as is. |
| `passed` | `bool` Output only. Whether the rule passed or failed. |
| `evaluated_count` | `int` Output only. The number of rows a rule was evaluated against. This field is only valid for row-level type rules. Evaluated count can be configured to either - include all rows (default) - with `null` rows automatically failing rule evaluation, or - exclude `null` rows from the `evaluated_count`, by setting `ignore_nulls = true`. This field is not set for rule SqlAssertion. |
| `passed_count` | `int` Output only. The number of rows which passed a rule evaluation. This field is only valid for row-level type rules. This field is not set for rule SqlAssertion. |
| `null_count` | `int` Output only. The number of rows with null values in the specified column. |
| `pass_ratio` | `float` Output only. The ratio of \*\*passed_count / evaluated_count\*\*. This field is only valid for row-level type rules. |
| `failing_rows_query` | `str` Output only. The query to find rows that did not pass this rule. This field is only valid for row-level type rules. |
| `assertion_row_count` | `int` Output only. The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules. |
| `debug_queries_result_sets` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataQualityRuleResult.DebugQueryResultSet]` Output only. Contains the results of all debug queries for this rule. The number of result sets will correspond to the number of debug_queries. |

## Classes

### DebugQueryResult

    DebugQueryResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains a single result from the debug query.

### DebugQueryResultSet

    DebugQueryResultSet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains all results from a debug query.