Class: Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityHistogramBucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityHistogramBucket
- 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 l-diversity equivalence class sensitive value frequencies.
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::GooglePrivacyDlpV2LDiversityEquivalenceClass>
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) ⇒ GooglePrivacyDlpV2LDiversityHistogramBucket
constructor
A new instance of GooglePrivacyDlpV2LDiversityHistogramBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2LDiversityHistogramBucket
Returns a new instance of GooglePrivacyDlpV2LDiversityHistogramBucket.
5801 5802 5803 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5801 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
5776 5777 5778 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5776 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
5781 5782 5783 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5781 def bucket_value_count @bucket_value_count end |
#bucket_values ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityEquivalenceClass>
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
5787 5788 5789 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5787 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
5793 5794 5795 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5793 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
5799 5800 5801 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5799 def sensitive_value_frequency_upper_bound @sensitive_value_frequency_upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5806 5807 5808 5809 5810 5811 5812 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5806 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) @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 |