Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
A DeltaPresenceEstimationHistogramBucket message with the following values: min_probability: 0.1 max_probability: 0.2 frequency: 42 means that there are 42 records for which δ is in [0.1, 0.2). An important particular case is when min_probability = max_probability = 1: then, every individual who shares this quasi-identifier combination is in the dataset.
Instance Attribute Summary collapse
-
#bucket_size ⇒ Fixnum
Number of records within these probability bounds.
-
#bucket_value_count ⇒ Fixnum
Total number of distinct quasi-identifier tuple values in this bucket.
-
#bucket_values ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues>
Sample of quasi-identifier tuple values in this bucket.
-
#max_probability ⇒ Float
Always greater than or equal to min_probability.
-
#min_probability ⇒ Float
Between 0 and 1.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
constructor
A new instance of GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket
Returns a new instance of GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket.
3356 3357 3358 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3356 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_size ⇒ Fixnum
Number of records within these probability bounds.
Corresponds to the JSON property bucketSize
3333 3334 3335 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3333 def bucket_size @bucket_size end |
#bucket_value_count ⇒ Fixnum
Total number of distinct quasi-identifier tuple values in this bucket.
Corresponds to the JSON property bucketValueCount
3338 3339 3340 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3338 def bucket_value_count @bucket_value_count end |
#bucket_values ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues>
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
3344 3345 3346 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3344 def bucket_values @bucket_values end |
#max_probability ⇒ Float
Always greater than or equal to min_probability.
Corresponds to the JSON property maxProbability
3349 3350 3351 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3349 def max_probability @max_probability end |
#min_probability ⇒ Float
Between 0 and 1.
Corresponds to the JSON property minProbability
3354 3355 3356 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3354 def min_probability @min_probability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3361 3362 3363 3364 3365 3366 3367 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3361 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_probability = args[:max_probability] if args.key?(:max_probability) @min_probability = args[:min_probability] if args.key?(:min_probability) end |