# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dataplex/v1/data_quality.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/cloud/dataplex/v1/processing_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/dataplex/v1/data_quality.proto", :syntax => :proto3) do add_message "google.cloud.dataplex.v1.DataQualitySpec" do repeated :rules, :message, 1, "google.cloud.dataplex.v1.DataQualityRule" end add_message "google.cloud.dataplex.v1.DataQualityResult" do optional :passed, :bool, 5 repeated :dimensions, :message, 2, "google.cloud.dataplex.v1.DataQualityDimensionResult" repeated :rules, :message, 3, "google.cloud.dataplex.v1.DataQualityRuleResult" optional :row_count, :int64, 4 optional :scanned_data, :message, 7, "google.cloud.dataplex.v1.ScannedData" end add_message "google.cloud.dataplex.v1.DataQualityRuleResult" do optional :rule, :message, 1, "google.cloud.dataplex.v1.DataQualityRule" optional :passed, :bool, 7 optional :evaluated_count, :int64, 9 optional :passed_count, :int64, 8 optional :null_count, :int64, 5 optional :pass_ratio, :double, 6 optional :failing_rows_query, :string, 10 end add_message "google.cloud.dataplex.v1.DataQualityDimensionResult" do optional :passed, :bool, 3 end add_message "google.cloud.dataplex.v1.DataQualityRule" do optional :column, :string, 500 optional :ignore_null, :bool, 501 optional :dimension, :string, 502 optional :threshold, :double, 503 oneof :rule_type do optional :range_expectation, :message, 1, "google.cloud.dataplex.v1.DataQualityRule.RangeExpectation" optional :non_null_expectation, :message, 2, "google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation" optional :set_expectation, :message, 3, "google.cloud.dataplex.v1.DataQualityRule.SetExpectation" optional :regex_expectation, :message, 4, "google.cloud.dataplex.v1.DataQualityRule.RegexExpectation" optional :uniqueness_expectation, :message, 100, "google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation" optional :statistic_range_expectation, :message, 101, "google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation" optional :row_condition_expectation, :message, 200, "google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation" optional :table_condition_expectation, :message, 201, "google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation" end end add_message "google.cloud.dataplex.v1.DataQualityRule.RangeExpectation" do optional :min_value, :string, 1 optional :max_value, :string, 2 optional :strict_min_enabled, :bool, 3 optional :strict_max_enabled, :bool, 4 end add_message "google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation" do end add_message "google.cloud.dataplex.v1.DataQualityRule.SetExpectation" do repeated :values, :string, 1 end add_message "google.cloud.dataplex.v1.DataQualityRule.RegexExpectation" do optional :regex, :string, 1 end add_message "google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation" do end add_message "google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation" do optional :statistic, :enum, 1, "google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic" optional :min_value, :string, 2 optional :max_value, :string, 3 optional :strict_min_enabled, :bool, 4 optional :strict_max_enabled, :bool, 5 end add_enum "google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic" do value :STATISTIC_UNDEFINED, 0 value :MEAN, 1 value :MIN, 2 value :MAX, 3 end add_message "google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation" do optional :sql_expression, :string, 1 end add_message "google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation" do optional :sql_expression, :string, 1 end end end module Google module Cloud module Dataplex module V1 DataQualitySpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualitySpec").msgclass DataQualityResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityResult").msgclass DataQualityRuleResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRuleResult").msgclass DataQualityDimensionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityDimensionResult").msgclass DataQualityRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule").msgclass DataQualityRule::RangeExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.RangeExpectation").msgclass DataQualityRule::NonNullExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.NonNullExpectation").msgclass DataQualityRule::SetExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.SetExpectation").msgclass DataQualityRule::RegexExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.RegexExpectation").msgclass DataQualityRule::UniquenessExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation").msgclass DataQualityRule::StatisticRangeExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation").msgclass DataQualityRule::StatisticRangeExpectation::ColumnStatistic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic").enummodule DataQualityRule::RowConditionExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation").msgclass DataQualityRule::TableConditionExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation").msgclass end end end end