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
-
#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
#column ⇒ ::String
Returns The column which this rule is evaluated against.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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).
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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.
737 738 739 740 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 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 737 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 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. NON_NULL_EXPECTATION = 1 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. RANGE_EXPECTATION = 2 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. REGEX_EXPECTATION = 3 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. ROW_CONDITION_EXPECTATION = 4 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. SET_EXPECTATION = 5 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. STATISTIC_RANGE_EXPECTATION = 6 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. TABLE_CONDITION_EXPECTATION = 7 # Please see # https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. UNIQUENESS_EXPECTATION = 8 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 |