Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityHistogramBucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityHistogramBucket
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
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::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass>
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) ⇒ GooglePrivacyDlpV2beta2KAnonymityHistogramBucket
constructor
A new instance of GooglePrivacyDlpV2beta2KAnonymityHistogramBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2KAnonymityHistogramBucket
Returns a new instance of GooglePrivacyDlpV2beta2KAnonymityHistogramBucket
4076 4077 4078 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4076 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
4053 4054 4055 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4053 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
4058 4059 4060 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4058 def bucket_value_count @bucket_value_count end |
#bucket_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass>
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
4064 4065 4066 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4064 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
4069 4070 4071 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4069 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
4074 4075 4076 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4074 def equivalence_class_size_upper_bound @equivalence_class_size_upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4081 4082 4083 4084 4085 4086 4087 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4081 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 |