Class: Google::Cloud::Dataplex::V1::DataQualityScanRuleResult
- Inherits:
-
Object
- Object
- Google::Cloud::Dataplex::V1::DataQualityScanRuleResult
- 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
-
#assertion_row_count ⇒ ::Integer
The number of rows returned by the SQL statement in a SQL assertion rule.
-
#column ⇒ ::String
The column which this rule is evaluated against.
-
#data_source ⇒ ::String
The data source of the data scan (e.g. BigQuery table name).
-
#evaluated_row_count ⇒ ::Integer
The number of rows evaluated against the data quality rule.
-
#evalution_type ⇒ ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::EvaluationType
The evaluation type of the data quality rule.
-
#job_id ⇒ ::String
Identifier of the specific data scan job this log entry is for.
-
#null_row_count ⇒ ::Integer
The number of rows with null values in the specified column.
-
#passed_row_count ⇒ ::Integer
The number of rows which passed a rule evaluation.
-
#result ⇒ ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::Result
The result of the data quality rule.
-
#rule_dimension ⇒ ::String
The dimension of the data quality rule.
-
#rule_name ⇒ ::String
The name of the data quality rule.
-
#rule_type ⇒ ::Google::Cloud::Dataplex::V1::DataQualityScanRuleResult::RuleType
The type of the data quality rule.
-
#threshold_percent ⇒ ::Float
The passing threshold ([0.0, 100.0]) of the data quality rule.
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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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).
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 741 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 |