class Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationHistogramBucket

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.

Attributes

bucket_size[RW]

Number of records within these anonymity bounds. Corresponds to the JSON property `bucketSize` @return [Fixnum]

bucket_value_count[RW]

Total number of distinct quasi-identifier tuple values in this bucket. Corresponds to the JSON property `bucketValueCount` @return [Fixnum]

bucket_values[RW]

Sample of quasi-identifier tuple values in this bucket. The total number of classes returned per bucket is capped at 20. Corresponds to the JSON property `bucketValues` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationQuasiIdValues>]

max_anonymity[RW]

Always greater than or equal to min_anonymity. Corresponds to the JSON property `maxAnonymity` @return [Fixnum]

min_anonymity[RW]

Always positive. Corresponds to the JSON property `minAnonymity` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 3733
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 3738
def update!(**args)
  @bucket_size = args[:bucket_size] if args.key?(:bucket_size)
  @bucket_value_count = args[:bucket_value_count] if args.key?(:bucket_value_count)
  @bucket_values = args[:bucket_values] if args.key?(:bucket_values)
  @max_anonymity = args[:max_anonymity] if args.key?(:max_anonymity)
  @min_anonymity = args[:min_anonymity] if args.key?(:min_anonymity)
end