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:



956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 956

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