Output only. The rule specified in the DataQualitySpec, as is.
↳ passed
bool
Output only. Whether the rule passed or failed.
↳ evaluated_count
int|string
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) - withnullrows automatically failing rule evaluation, or * * excludenullrows from theevaluated_count, by settingignore_nulls = true. This field is not set for rule SqlAssertion.
↳ passed_count
int|string
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|string
Output only. The number of rows with null values in the specified column.
↳ pass_ratio
float
Output only. The ratio ofpassed_count / evaluated_count. This field is only valid for row-level type rules.
↳ failing_rows_query
string
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|string
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.
getRule
Output only. The rule specified in the DataQualitySpec, as is.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataplex V1 Client - Class DataQualityRuleResult (1.7.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.1 (latest)](/php/docs/reference/cloud-dataplex/latest/V1.DataQualityRuleResult)\n- [1.7.0](/php/docs/reference/cloud-dataplex/1.7.0/V1.DataQualityRuleResult)\n- [1.6.1](/php/docs/reference/cloud-dataplex/1.6.1/V1.DataQualityRuleResult)\n- [1.4.0](/php/docs/reference/cloud-dataplex/1.4.0/V1.DataQualityRuleResult)\n- [1.3.0](/php/docs/reference/cloud-dataplex/1.3.0/V1.DataQualityRuleResult)\n- [1.2.1](/php/docs/reference/cloud-dataplex/1.2.1/V1.DataQualityRuleResult)\n- [1.1.1](/php/docs/reference/cloud-dataplex/1.1.1/V1.DataQualityRuleResult)\n- [1.0.1](/php/docs/reference/cloud-dataplex/1.0.1/V1.DataQualityRuleResult)\n- [0.16.1](/php/docs/reference/cloud-dataplex/0.16.1/V1.DataQualityRuleResult)\n- [0.15.1](/php/docs/reference/cloud-dataplex/0.15.1/V1.DataQualityRuleResult)\n- [0.14.0](/php/docs/reference/cloud-dataplex/0.14.0/V1.DataQualityRuleResult)\n- [0.13.0](/php/docs/reference/cloud-dataplex/0.13.0/V1.DataQualityRuleResult)\n- [0.12.0](/php/docs/reference/cloud-dataplex/0.12.0/V1.DataQualityRuleResult)\n- [0.11.1](/php/docs/reference/cloud-dataplex/0.11.1/V1.DataQualityRuleResult)\n- [0.10.0](/php/docs/reference/cloud-dataplex/0.10.0/V1.DataQualityRuleResult)\n- [0.9.0](/php/docs/reference/cloud-dataplex/0.9.0/V1.DataQualityRuleResult)\n- [0.8.0](/php/docs/reference/cloud-dataplex/0.8.0/V1.DataQualityRuleResult)\n- [0.7.0](/php/docs/reference/cloud-dataplex/0.7.0/V1.DataQualityRuleResult)\n- [0.6.0](/php/docs/reference/cloud-dataplex/0.6.0/V1.DataQualityRuleResult)\n- [0.5.1](/php/docs/reference/cloud-dataplex/0.5.1/V1.DataQualityRuleResult)\n- [0.4.0](/php/docs/reference/cloud-dataplex/0.4.0/V1.DataQualityRuleResult)\n- [0.3.0](/php/docs/reference/cloud-dataplex/0.3.0/V1.DataQualityRuleResult)\n- [0.2.3](/php/docs/reference/cloud-dataplex/0.2.3/V1.DataQualityRuleResult)\n- [0.1.6](/php/docs/reference/cloud-dataplex/0.1.6/V1.DataQualityRuleResult) \nReference documentation and code samples for the Google Cloud Dataplex V1 Client class DataQualityRuleResult.\n\nDataQualityRuleResult provides a more detailed, per-rule view of the results.\n\nGenerated from protobuf message `google.cloud.dataplex.v1.DataQualityRuleResult`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataplex \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRule\n\nOutput only. The rule specified in the DataQualitySpec, as is.\n\n### hasRule\n\n### clearRule\n\n### setRule\n\nOutput only. The rule specified in the DataQualitySpec, as is.\n\n### getPassed\n\nOutput only. Whether the rule passed or failed.\n\n### setPassed\n\nOutput only. Whether the rule passed or failed.\n\n### getEvaluatedCount\n\nOutput only. The number of rows a rule was evaluated against.\n\nThis field is only valid for row-level type rules.\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`. This field is not set for rule SqlAssertion.\n\n### setEvaluatedCount\n\nOutput only. The number of rows a rule was evaluated against.\n\nThis field is only valid for row-level type rules.\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`. This field is not set for rule SqlAssertion.\n\n### getPassedCount\n\nOutput only. The number of rows which passed a rule evaluation.\n\nThis field is only valid for row-level type rules.\nThis field is not set for rule SqlAssertion.\n\n### setPassedCount\n\nOutput only. The number of rows which passed a rule evaluation.\n\nThis field is only valid for row-level type rules.\nThis field is not set for rule SqlAssertion.\n\n### getNullCount\n\nOutput only. The number of rows with null values in the specified column.\n\n### setNullCount\n\nOutput only. The number of rows with null values in the specified column.\n\n### getPassRatio\n\nOutput only. The ratio of **passed_count / evaluated_count**.\n\nThis field is only valid for row-level type rules.\n\n### setPassRatio\n\nOutput only. The ratio of **passed_count / evaluated_count**.\n\nThis field is only valid for row-level type rules.\n\n### getFailingRowsQuery\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### setFailingRowsQuery\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### getAssertionRowCount\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### setAssertionRowCount\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."]]