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.



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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.



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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:



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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.



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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.



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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.



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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:



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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.



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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.



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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:



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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.



601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 601

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