Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityHistogramBucket

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta2KAnonymityHistogramBucket

Returns a new instance of GooglePrivacyDlpV2beta2KAnonymityHistogramBucket



3931
3932
3933
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3931

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

Instance Attribute Details

#bucket_sizeFixnum

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

Returns:

  • (Fixnum)


3913
3914
3915
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3913

def bucket_size
  @bucket_size
end

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



3919
3920
3921
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3919

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)


3924
3925
3926
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3924

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)


3929
3930
3931
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3929

def equivalence_class_size_upper_bound
  @equivalence_class_size_upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3936
3937
3938
3939
3940
3941
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3936

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