Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb
Overview
Histogram bucket of equivalence class sizes in the table.
Instance Attribute Summary collapse
-
#bucket_size ⇒ Fixnum
Total number of records in this bucket.
-
#bucket_values ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass>
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) ⇒ GooglePrivacyDlpV2beta1KAnonymityHistogramBucket
constructor
A new instance of GooglePrivacyDlpV2beta1KAnonymityHistogramBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1KAnonymityHistogramBucket
Returns a new instance of GooglePrivacyDlpV2beta1KAnonymityHistogramBucket
1970 1971 1972 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1970 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
1952 1953 1954 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1952 def bucket_size @bucket_size end |
#bucket_values ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass>
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
1958 1959 1960 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1958 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
1963 1964 1965 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1963 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
1968 1969 1970 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1968 def equivalence_class_size_upper_bound @equivalence_class_size_upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1975 1976 1977 1978 1979 1980 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1975 def update!(**args) @bucket_size = args[:bucket_size] if args.key?(:bucket_size) @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 |