Cloud Dataplex v1 API - Class DataQualityRuleResult (2.7.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 > DataQualityRuleResult

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DataQualityRuleResult()

public DataQualityRuleResult()

DataQualityRuleResult(DataQualityRuleResult)

public DataQualityRuleResult(DataQualityRuleResult other)
Parameter
NameDescription
otherDataQualityRuleResult

Properties

EvaluatedCount

public long EvaluatedCount { get; set; }

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.
Property Value
TypeDescription
long

FailingRowsQuery

public string FailingRowsQuery { get; set; }

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

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

Property Value
TypeDescription
string

NullCount

public long NullCount { get; set; }

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

Property Value
TypeDescription
long

Passed

public bool Passed { get; set; }

Whether the rule passed or failed.

Property Value
TypeDescription
bool

PassedCount

public long PassedCount { get; set; }

The number of rows which passed a rule evaluation.

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

Property Value
TypeDescription
long

PassRatio

public double PassRatio { get; set; }

The ratio of passed_count / evaluated_count.

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

Property Value
TypeDescription
double

Rule

public DataQualityRule Rule { get; set; }

The rule specified in the DataQualitySpec, as is.

Property Value
TypeDescription
DataQualityRule