Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityHistogramBucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityHistogramBucket
- 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
Overview
Histogram bucket of sensitive value frequencies in the table.
Instance Attribute Summary collapse
-
#bucket_size ⇒ Fixnum
Total number of records in this bucket.
-
#bucket_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass>
Sample of equivalence classes in this bucket.
-
#sensitive_value_frequency_lower_bound ⇒ Fixnum
Lower bound on the sensitive value frequencies of the equivalence classes in this bucket.
-
#sensitive_value_frequency_upper_bound ⇒ Fixnum
Upper bound on the sensitive value frequencies of the equivalence classes in this bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1LDiversityHistogramBucket
constructor
A new instance of GooglePrivacyDlpV2beta1LDiversityHistogramBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1LDiversityHistogramBucket
Returns a new instance of GooglePrivacyDlpV2beta1LDiversityHistogramBucket
1016 1017 1018 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1016 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_size ⇒ Fixnum
Total number of records in this bucket.
Corresponds to the JSON property bucketSize
996 997 998 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 996 def bucket_size @bucket_size end |
#bucket_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass>
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
1002 1003 1004 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1002 def bucket_values @bucket_values end |
#sensitive_value_frequency_lower_bound ⇒ Fixnum
Lower bound on the sensitive value frequencies of the equivalence
classes in this bucket.
Corresponds to the JSON property sensitiveValueFrequencyLowerBound
1008 1009 1010 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1008 def sensitive_value_frequency_lower_bound @sensitive_value_frequency_lower_bound end |
#sensitive_value_frequency_upper_bound ⇒ Fixnum
Upper bound on the sensitive value frequencies of the equivalence
classes in this bucket.
Corresponds to the JSON property sensitiveValueFrequencyUpperBound
1014 1015 1016 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1014 def sensitive_value_frequency_upper_bound @sensitive_value_frequency_upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1021 1022 1023 1024 1025 1026 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1021 def update!(**args) @bucket_size = args[:bucket_size] if args.key?(:bucket_size) @bucket_values = args[:bucket_values] if args.key?(:bucket_values) @sensitive_value_frequency_lower_bound = args[:sensitive_value_frequency_lower_bound] if args.key?(:sensitive_value_frequency_lower_bound) @sensitive_value_frequency_upper_bound = args[:sensitive_value_frequency_upper_bound] if args.key?(:sensitive_value_frequency_upper_bound) end |