Dataplex V1 API - Class Google::Cloud::Dataplex::V1::DataQualityRule (v0.6.0)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataQualityRule.

A rule captures data quality intent about a data source.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#column

def column() -> ::String
Returns
  • (::String) — Optional. The unnested column which this rule is evaluated against.

#column=

def column=(value) -> ::String
Parameter
  • value (::String) — Optional. The unnested column which this rule is evaluated against.
Returns
  • (::String) — Optional. The unnested column which this rule is evaluated against.

#dimension

def dimension() -> ::String
Returns
  • (::String) — Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]

#dimension=

def dimension=(value) -> ::String
Parameter
  • value (::String) — Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]
Returns
  • (::String) — Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]

#ignore_null

def ignore_null() -> ::Boolean
Returns
  • (::Boolean) — Optional. Rows with null values will automatically fail a rule, unless ignore_null is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.

#ignore_null=

def ignore_null=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Rows with null values will automatically fail a rule, unless ignore_null is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.
Returns
  • (::Boolean) — Optional. Rows with null values will automatically fail a rule, unless ignore_null is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.

#non_null_expectation

def non_null_expectation() -> ::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation
Returns

#non_null_expectation=

def non_null_expectation=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation
Parameter
Returns

#range_expectation

def range_expectation() -> ::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation
Returns

#range_expectation=

def range_expectation=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation
Parameter
Returns

#regex_expectation

def regex_expectation() -> ::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation
Returns

#regex_expectation=

def regex_expectation=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation
Parameter
Returns

#row_condition_expectation

def row_condition_expectation() -> ::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation
Returns

#row_condition_expectation=

def row_condition_expectation=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation
Parameter
Returns

#set_expectation

def set_expectation() -> ::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation
Returns

#set_expectation=

def set_expectation=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation
Parameter
Returns

#statistic_range_expectation

def statistic_range_expectation() -> ::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation
Returns

#statistic_range_expectation=

def statistic_range_expectation=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation
Parameter
Returns

#table_condition_expectation

def table_condition_expectation() -> ::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation
Returns

#table_condition_expectation=

def table_condition_expectation=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation
Parameter
Returns

#threshold

def threshold() -> ::Float
Returns
  • (::Float) — Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]

    0 indicates default value (i.e. 1.0)

#threshold=

def threshold=(value) -> ::Float
Parameter
  • value (::Float) — Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]

    0 indicates default value (i.e. 1.0)

Returns
  • (::Float) — Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]

    0 indicates default value (i.e. 1.0)

#uniqueness_expectation

def uniqueness_expectation() -> ::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation
Returns

#uniqueness_expectation=

def uniqueness_expectation=(value) -> ::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation
Parameter
Returns