Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1KAnonymityHistogramBucket

Returns a new instance of GooglePrivacyDlpV2beta1KAnonymityHistogramBucket



1759
1760
1761
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1759

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bucket_sizeFixnum

Total number of records in this bucket. Corresponds to the JSON property bucketSize

Returns:

  • (Fixnum)


1741
1742
1743
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1741

def bucket_size
  @bucket_size
end

#bucket_valuesArray<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



1747
1748
1749
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1747

def bucket_values
  @bucket_values
end

#equivalence_class_size_lower_boundFixnum

Lower bound on the size of the equivalence classes in this bucket. Corresponds to the JSON property equivalenceClassSizeLowerBound

Returns:

  • (Fixnum)


1752
1753
1754
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1752

def equivalence_class_size_lower_bound
  @equivalence_class_size_lower_bound
end

#equivalence_class_size_upper_boundFixnum

Upper bound on the size of the equivalence classes in this bucket. Corresponds to the JSON property equivalenceClassSizeUpperBound

Returns:

  • (Fixnum)


1757
1758
1759
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1757

def equivalence_class_size_upper_bound
  @equivalence_class_size_upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1764
1765
1766
1767
1768
1769
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1764

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