Class: Google::Cloud::Dataplex::V1::DataQualityScanRuleResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataplex/v1/logs.rb

Overview

Information about the result of a data quality rule for data quality scan. The monitored resource is 'DataScan'.

Defined Under Namespace

Modules: EvaluationType, Result, RuleType

Instance Attribute Summary collapse

Instance Attribute Details

#assertion_row_count::Integer

Returns The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.

Returns:

  • (::Integer)

    The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#column::String

Returns The column which this rule is evaluated against.

Returns:

  • (::String)

    The column which this rule is evaluated against.



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#data_source::String

Returns The data source of the data scan (e.g. BigQuery table name).

Returns:

  • (::String)

    The data source of the data scan (e.g. BigQuery table name).



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#evaluated_row_count::Integer

Returns The number of rows evaluated against the data quality rule. This field is only valid for rules of PER_ROW evaluation type.

Returns:

  • (::Integer)

    The number of rows evaluated against the data quality rule. This field is only valid for rules of PER_ROW evaluation type.



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#evalution_type::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::EvaluationType

Returns The evaluation type of the data quality rule.

Returns:



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#job_id::String

Returns Identifier of the specific data scan job this log entry is for.

Returns:

  • (::String)

    Identifier of the specific data scan job this log entry is for.



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#null_row_count::Integer

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

Returns:

  • (::Integer)

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



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#passed_row_count::Integer

Returns The number of rows which passed a rule evaluation. This field is only valid for rules of PER_ROW evaluation type.

Returns:

  • (::Integer)

    The number of rows which passed a rule evaluation. This field is only valid for rules of PER_ROW evaluation type.



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#result::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::Result

Returns The result of the data quality rule.

Returns:



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#rule_dimension::String

Returns The dimension of the data quality rule.

Returns:

  • (::String)

    The dimension of the data quality rule.



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#rule_name::String

Returns The name of the data quality rule.

Returns:

  • (::String)

    The name of the data quality rule.



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#rule_type::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::RuleType

Returns The type of the data quality rule.

Returns:



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end

#threshold_percent::Float

Returns The passing threshold ([0.0, 100.0]) of the data quality rule.

Returns:

  • (::Float)

    The passing threshold ([0.0, 100.0]) of the data quality rule.



791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 791

class DataQualityScanRuleResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the data quality rule.
  module RuleType
    # An unspecified rule type.
    RULE_TYPE_UNSPECIFIED = 0

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
    NON_NULL_EXPECTATION = 1

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
    RANGE_EXPECTATION = 2

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
    REGEX_EXPECTATION = 3

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
    ROW_CONDITION_EXPECTATION = 4

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
    SET_EXPECTATION = 5

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
    STATISTIC_RANGE_EXPECTATION = 6

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
    TABLE_CONDITION_EXPECTATION = 7

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
    UNIQUENESS_EXPECTATION = 8

    # See
    # {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
    SQL_ASSERTION = 9
  end

  # The evaluation type of the data quality rule.
  module EvaluationType
    # An unspecified evaluation type.
    EVALUATION_TYPE_UNSPECIFIED = 0

    # The rule evaluation is done at per row level.
    PER_ROW = 1

    # The rule evaluation is done for an aggregate of rows.
    AGGREGATE = 2
  end

  # Whether the data quality rule passed or failed.
  module Result
    # An unspecified result.
    RESULT_UNSPECIFIED = 0

    # The data quality rule passed.
    PASSED = 1

    # The data quality rule failed.
    FAILED = 2
  end
end