Cloud Dataplex v1 API - Class DataQualityRuleResult (2.15.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
Name Description
other DataQualityRuleResult

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
Type Description
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
Type Description
string

NullCount

public long NullCount { get; set; }

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

Property Value
Type Description
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
Type Description
double

Passed

public bool Passed { get; set; }

Whether the rule passed or failed.

Property Value
Type Description
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
Type Description
long

Rule

public DataQualityRule Rule { get; set; }

The rule specified in the DataQualitySpec, as is.

Property Value
Type Description
DataQualityRule