Class: Google::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/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_bucketsArray<Google::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityHistogramBucket>

Returns Histogram of k-anonymity equivalence classes.

Returns:



926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 926

class KAnonymityResult
  # The set of columns' values that share the same ldiversity value
  # @!attribute [rw] quasi_ids_values
  #   @return [Array<Google::Privacy::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; end

  # @!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::Privacy::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; end
end