Class: Google::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.

Defined Under Namespace

Classes: KMapEstimationHistogramBucket, KMapEstimationQuasiIdValues

Instance Attribute Summary collapse

Instance Attribute Details

#k_map_estimation_histogramArray<Google::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult::KMapEstimationHistogramBucket>

Returns The intervals [min_anonymity, max_anonymity] do not overlap. If a value doesn't correspond to any such interval, the associated frequency is zero. For example, the following records: 1, max_anonymity: 1, frequency: 17 2, max_anonymity: 3, frequency: 42 5, max_anonymity: 10, frequency: 99 mean that there are no record with an estimated anonymity of 4, 5, or larger than 10.

Returns:



842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 842

class KMapEstimationResult
  # A tuple of values for the quasi-identifier columns.
  # @!attribute [rw] quasi_ids_values
  #   @return [Array<Google::Privacy::Dlp::V2::Value>]
  #     The quasi-identifier values.
  # @!attribute [rw] estimated_anonymity
  #   @return [Integer]
  #     The estimated anonymity for these quasi-identifier values.
  class KMapEstimationQuasiIdValues; end

  # A KMapEstimationHistogramBucket message with the following values:
  #   min_anonymity: 3
  #   max_anonymity: 5
  #   frequency: 42
  # means that there are 42 records whose quasi-identifier values correspond
  # to 3, 4 or 5 people in the overlying population. An important particular
  # case is when min_anonymity = max_anonymity = 1: the frequency field then
  # corresponds to the number of uniquely identifiable records.
  # @!attribute [rw] min_anonymity
  #   @return [Integer]
  #     Always positive.
  # @!attribute [rw] max_anonymity
  #   @return [Integer]
  #     Always greater than or equal to min_anonymity.
  # @!attribute [rw] bucket_size
  #   @return [Integer]
  #     Number of records within these anonymity bounds.
  # @!attribute [rw] bucket_values
  #   @return [Array<Google::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult::KMapEstimationQuasiIdValues>]
  #     Sample of quasi-identifier tuple values 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 quasi-identifier tuple values in this bucket.
  class KMapEstimationHistogramBucket; end
end