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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe document provides reference information for the \u003ccode\u003eDataQualityRuleResult\u003c/code\u003e class within the Google Cloud Dataplex v1 API, detailing its structure, properties, and usage.\u003c/p\u003e\n"],["\u003cp\u003eIt lists various versions of the \u003ccode\u003eDataQualityRuleResult\u003c/code\u003e class, ranging from version 1.0.0 to the latest version 3.6.0, indicating a history of updates and changes to the class over time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataQualityRuleResult\u003c/code\u003e class offers detailed insights into the outcomes of data quality rule evaluations, including metrics such as \u003ccode\u003eAssertionRowCount\u003c/code\u003e, \u003ccode\u003eEvaluatedCount\u003c/code\u003e, \u003ccode\u003ePassRatio\u003c/code\u003e, \u003ccode\u003ePassedCount\u003c/code\u003e, \u003ccode\u003eNullCount\u003c/code\u003e, and a \u003ccode\u003eFailingRowsQuery\u003c/code\u003e for troubleshooting.\u003c/p\u003e\n"],["\u003cp\u003eThe DataQualityRuleResult class can be used to find out whether the rule passed or failed with the \u003ccode\u003ePassed\u003c/code\u003e property and whether the rule is a row level rule or an assertion rule, and the number of rows it was tested on.\u003c/p\u003e\n"],["\u003cp\u003eThere are many inherited members and implemented interfaces to the class DataQualityRuleResult that the user can also reference and use to further their understanding, with links provided to each.\u003c/p\u003e\n"]]],[],null,["# Cloud Dataplex v1 API - Class DataQualityRuleResult (3.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.8.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.7.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.6.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.5.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.4.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.3.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.2.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.1.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/3.0.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.15.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.14.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.13.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.12.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.11.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.10.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.9.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.8.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.7.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.6.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.5.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.4.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.3.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.2.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.1.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/2.0.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/1.0.0/Google.Cloud.Dataplex.V1.DataQualityRuleResult) \n\n public sealed class DataQualityRuleResult : IMessage\u003cDataQualityRuleResult\u003e, IEquatable\u003cDataQualityRuleResult\u003e, IDeepCloneable\u003cDataQualityRuleResult\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Dataplex v1 API class DataQualityRuleResult.\n\nDataQualityRuleResult provides a more detailed, per-rule view of the results. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DataQualityRuleResult \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataQualityRuleResult](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRuleResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataQualityRuleResult](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRuleResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataQualityRuleResult](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataQualityRuleResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataplex.V1](/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataplex.V1.dll\n\nConstructors\n------------\n\n### DataQualityRuleResult()\n\n public DataQualityRuleResult()\n\n### DataQualityRuleResult(DataQualityRuleResult)\n\n public DataQualityRuleResult(DataQualityRuleResult other)\n\nProperties\n----------\n\n### AssertionRowCount\n\n public long AssertionRowCount { get; set; }\n\nOutput only. The number of rows returned by the SQL statement in a SQL\nassertion rule.\n\nThis field is only valid for SQL assertion rules.\n\n### EvaluatedCount\n\n public long EvaluatedCount { get; set; }\n\nOutput only. The number of rows a rule was evaluated against.\n\nThis field is only valid for row-level type rules.\n\nEvaluated count can be configured to either\n\n- include all rows (default) - with `null` rows automatically failing rule evaluation, or\n- exclude `null` rows from the `evaluated_count`, by setting `ignore_nulls = true`.\n\nThis field is not set for rule SqlAssertion.\n\n### FailingRowsQuery\n\n public string FailingRowsQuery { get; set; }\n\nOutput only. The query to find rows that did not pass this rule.\n\nThis field is only valid for row-level type rules.\n\n### NullCount\n\n public long NullCount { get; set; }\n\nOutput only. The number of rows with null values in the specified column.\n\n### PassRatio\n\n public double PassRatio { get; set; }\n\nOutput only. The ratio of **passed_count / evaluated_count**.\n\nThis field is only valid for row-level type rules.\n\n### Passed\n\n public bool Passed { get; set; }\n\nOutput only. Whether the rule passed or failed.\n\n### PassedCount\n\n public long PassedCount { get; set; }\n\nOutput only. The number of rows which passed a rule evaluation.\n\nThis field is only valid for row-level type rules.\n\nThis field is not set for rule SqlAssertion.\n\n### Rule\n\n public DataQualityRule Rule { get; set; }\n\nOutput only. The rule specified in the DataQualitySpec, as is."]]