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

#column::String

Returns The column which this rule is evaluated against.

Returns:

  • (::String)

    The column which this rule is evaluated against.



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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).

Returns:

  • (::String)

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



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:

  • (::Integer)

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



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:

  • (::String)

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



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:

  • (::Integer)

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



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:

  • (::Integer)

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



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:

  • (::String)

    The dimension of the data quality rule.



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:

  • (::String)

    The name of the data quality rule.



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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.

Returns:

  • (::Float)

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



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 685

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