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:



1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1019

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