Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket

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) ⇒ GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket

Returns a new instance of GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket



1973
1974
1975
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1973

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

Instance Attribute Details

#bucket_sizeFixnum

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

Returns:

  • (Fixnum)


1950
1951
1952
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1950

def bucket_size
  @bucket_size
end

#bucket_value_countFixnum

Total number of distinct values in this bucket. Corresponds to the JSON property bucketValueCount

Returns:

  • (Fixnum)


1955
1956
1957
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1955

def bucket_value_count
  @bucket_value_count
end

#bucket_valuesArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ValueFrequency>

Sample of value frequencies in this bucket. The total number of values returned per bucket is capped at 20. Corresponds to the JSON property bucketValues



1961
1962
1963
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1961

def bucket_values
  @bucket_values
end

#value_frequency_lower_boundFixnum

Lower bound on the value frequency of the values in this bucket. Corresponds to the JSON property valueFrequencyLowerBound

Returns:

  • (Fixnum)


1966
1967
1968
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1966

def value_frequency_lower_bound
  @value_frequency_lower_bound
end

#value_frequency_upper_boundFixnum

Upper bound on the value frequency of the values in this bucket. Corresponds to the JSON property valueFrequencyUpperBound

Returns:

  • (Fixnum)


1971
1972
1973
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1971

def value_frequency_upper_bound
  @value_frequency_upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1978
1979
1980
1981
1982
1983
1984
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1978

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)
  @value_frequency_lower_bound = args[:value_frequency_lower_bound] if args.key?(:value_frequency_lower_bound)
  @value_frequency_upper_bound = args[:value_frequency_upper_bound] if args.key?(:value_frequency_upper_bound)
end