Class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityHistogramBucket

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

Histogram bucket of sensitive value frequencies 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) ⇒ GooglePrivacyDlpV2beta1LDiversityHistogramBucket

Returns a new instance of GooglePrivacyDlpV2beta1LDiversityHistogramBucket



5690
5691
5692
# File 'generated/google/apis/dlp_v2/classes.rb', line 5690

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)


5670
5671
5672
# File 'generated/google/apis/dlp_v2/classes.rb', line 5670

def bucket_size
  @bucket_size
end

#bucket_valuesArray<Google::Apis::DlpV2::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



5676
5677
5678
# File 'generated/google/apis/dlp_v2/classes.rb', line 5676

def bucket_values
  @bucket_values
end

#sensitive_value_frequency_lower_boundFixnum

Lower bound on the sensitive value frequencies of the equivalence classes in this bucket. Corresponds to the JSON property sensitiveValueFrequencyLowerBound

Returns:

  • (Fixnum)


5682
5683
5684
# File 'generated/google/apis/dlp_v2/classes.rb', line 5682

def sensitive_value_frequency_lower_bound
  @sensitive_value_frequency_lower_bound
end

#sensitive_value_frequency_upper_boundFixnum

Upper bound on the sensitive value frequencies of the equivalence classes in this bucket. Corresponds to the JSON property sensitiveValueFrequencyUpperBound

Returns:

  • (Fixnum)


5688
5689
5690
# File 'generated/google/apis/dlp_v2/classes.rb', line 5688

def sensitive_value_frequency_upper_bound
  @sensitive_value_frequency_upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5695
5696
5697
5698
5699
5700
# File 'generated/google/apis/dlp_v2/classes.rb', line 5695

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