Class: Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Result of the k-anonymity computation.

Defined Under Namespace

Classes: KAnonymityEquivalenceClass, KAnonymityHistogramBucket

Instance Attribute Summary collapse

Instance Attribute Details

#equivalence_class_histogram_buckets::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityHistogramBucket>

Returns Histogram of k-anonymity equivalence classes.

Returns:



1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 1826

class KAnonymityResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The set of columns' values that share the same ldiversity value
  # @!attribute [rw] quasi_ids_values
  #   @return [::Array<::Google::Cloud::Dlp::V2::Value>]
  #     Set of values defining the equivalence class. One value per
  #     quasi-identifier column in the original KAnonymity metric message.
  #     The order is always the same as the original request.
  # @!attribute [rw] equivalence_class_size
  #   @return [::Integer]
  #     Size of the equivalence class, for example number of rows with the
  #     above set of values.
  class KAnonymityEquivalenceClass
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Histogram of k-anonymity equivalence classes.
  # @!attribute [rw] equivalence_class_size_lower_bound
  #   @return [::Integer]
  #     Lower bound on the size of the equivalence classes in this bucket.
  # @!attribute [rw] equivalence_class_size_upper_bound
  #   @return [::Integer]
  #     Upper bound on the size of the equivalence classes in this bucket.
  # @!attribute [rw] bucket_size
  #   @return [::Integer]
  #     Total number of equivalence classes in this bucket.
  # @!attribute [rw] bucket_values
  #   @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityEquivalenceClass>]
  #     Sample of equivalence classes in this bucket. The total number of
  #     classes returned per bucket is capped at 20.
  # @!attribute [rw] bucket_value_count
  #   @return [::Integer]
  #     Total number of distinct equivalence classes in this bucket.
  class KAnonymityHistogramBucket
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end