3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class DataQualityRuleResult : IMessage<DataQualityRuleResult>, IEquatable<DataQualityRuleResult>, IDeepCloneable<DataQualityRuleResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Dataplex v1 API class DataQualityRuleResult.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DataQualityRuleResult

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DataQualityRuleResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRuleResult.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataQualityRuleResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRuleResult.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DataQualityRuleResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRuleResult.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataplex.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.md.txt)

## Assembly

Google.Cloud.Dataplex.V1.dll

## Constructors

### DataQualityRuleResult()

    public DataQualityRuleResult()

### DataQualityRuleResult(DataQualityRuleResult)

    public DataQualityRuleResult(DataQualityRuleResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DataQualityRuleResult` |

## Properties

### AssertionRowCount

    public long AssertionRowCount { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### DebugQueriesResultSets

    public RepeatedField<DataQualityRuleResult.Types.DebugQueryResultSet> DebugQueriesResultSets { get; }

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\]\[google.cloud.dataplex.v1.DataQualityRule.debug_queries\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldDataQualityRuleResultTypesDebugQueryResultSet` |   |

### EvaluatedCount

    public long EvaluatedCount { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### FailingRowsQuery

    public string FailingRowsQuery { get; set; }

Output only. The query to find rows that did not pass this rule.

This field is only valid for row-level type rules.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NullCount

    public long NullCount { get; set; }

Output only. The number of rows with null values in the specified column.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### PassRatio

    public double PassRatio { get; set; }

Output only. The ratio of **passed_count / evaluated_count**.

This field is only valid for row-level type rules.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `double` |   |

### Passed

    public bool Passed { get; set; }

Output only. Whether the rule passed or failed.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### PassedCount

    public long PassedCount { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### Rule

    public DataQualityRule Rule { get; set; }

Output only. The rule specified in the DataQualitySpec, as is.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataQualityRule` |   |