Class: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityHistogramBucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityHistogramBucket
- 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
Histogram of k-anonymity equivalence classes.
Instance Attribute Summary collapse
-
#bucket_size ⇒ Fixnum
Total number of equivalence classes in this bucket.
-
#bucket_value_count ⇒ Fixnum
Total number of distinct equivalence classes in this bucket.
-
#bucket_values ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityEquivalenceClass>
Sample of equivalence classes in this bucket.
-
#equivalence_class_size_lower_bound ⇒ Fixnum
Lower bound on the size of the equivalence classes in this bucket.
-
#equivalence_class_size_upper_bound ⇒ Fixnum
Upper bound on the size of the equivalence classes in this bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2KAnonymityHistogramBucket
constructor
A new instance of GooglePrivacyDlpV2KAnonymityHistogramBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2KAnonymityHistogramBucket
Returns a new instance of GooglePrivacyDlpV2KAnonymityHistogramBucket.
6088 6089 6090 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6088 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_size ⇒ Fixnum
Total number of equivalence classes in this bucket.
Corresponds to the JSON property bucketSize
6065 6066 6067 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6065 def bucket_size @bucket_size end |
#bucket_value_count ⇒ Fixnum
Total number of distinct equivalence classes in this bucket.
Corresponds to the JSON property bucketValueCount
6070 6071 6072 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6070 def bucket_value_count @bucket_value_count end |
#bucket_values ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityEquivalenceClass>
Sample of equivalence classes in this bucket. The total number of classes
returned per bucket is capped at 20.
Corresponds to the JSON property bucketValues
6076 6077 6078 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6076 def bucket_values @bucket_values end |
#equivalence_class_size_lower_bound ⇒ Fixnum
Lower bound on the size of the equivalence classes in this bucket.
Corresponds to the JSON property equivalenceClassSizeLowerBound
6081 6082 6083 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6081 def equivalence_class_size_lower_bound @equivalence_class_size_lower_bound end |
#equivalence_class_size_upper_bound ⇒ Fixnum
Upper bound on the size of the equivalence classes in this bucket.
Corresponds to the JSON property equivalenceClassSizeUpperBound
6086 6087 6088 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6086 def equivalence_class_size_upper_bound @equivalence_class_size_upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6093 6094 6095 6096 6097 6098 6099 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6093 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) @equivalence_class_size_lower_bound = args[:equivalence_class_size_lower_bound] if args.key?(:equivalence_class_size_lower_bound) @equivalence_class_size_upper_bound = args[:equivalence_class_size_upper_bound] if args.key?(:equivalence_class_size_upper_bound) end |