Class: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsHistogramBucket
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsHistogramBucket
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #bucket_size  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Total number of values in this bucket. 
- 
  
    
      #bucket_value_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Total number of distinct values in this bucket. 
- 
  
    
      #bucket_values  ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ValueFrequency> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Sample of value frequencies in this bucket. 
- 
  
    
      #value_frequency_lower_bound  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Lower bound on the value frequency of the values in this bucket. 
- 
  
    
      #value_frequency_upper_bound  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Upper bound on the value frequency of the values in this bucket. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2CategoricalStatsHistogramBucket 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GooglePrivacyDlpV2CategoricalStatsHistogramBucket. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2CategoricalStatsHistogramBucket
Returns a new instance of GooglePrivacyDlpV2CategoricalStatsHistogramBucket
| 466 467 468 | # File 'generated/google/apis/dlp_v2/classes.rb', line 466 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#bucket_size ⇒ Fixnum
Total number of values in this bucket.
Corresponds to the JSON property bucketSize
| 443 444 445 | # File 'generated/google/apis/dlp_v2/classes.rb', line 443 def bucket_size @bucket_size end | 
#bucket_value_count ⇒ Fixnum
Total number of distinct values in this bucket.
Corresponds to the JSON property bucketValueCount
| 448 449 450 | # File 'generated/google/apis/dlp_v2/classes.rb', line 448 def bucket_value_count @bucket_value_count end | 
#bucket_values ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ValueFrequency>
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
| 454 455 456 | # File 'generated/google/apis/dlp_v2/classes.rb', line 454 def bucket_values @bucket_values end | 
#value_frequency_lower_bound ⇒ Fixnum
Lower bound on the value frequency of the values in this bucket.
Corresponds to the JSON property valueFrequencyLowerBound
| 459 460 461 | # File 'generated/google/apis/dlp_v2/classes.rb', line 459 def value_frequency_lower_bound @value_frequency_lower_bound end | 
#value_frequency_upper_bound ⇒ Fixnum
Upper bound on the value frequency of the values in this bucket.
Corresponds to the JSON property valueFrequencyUpperBound
| 464 465 466 | # File 'generated/google/apis/dlp_v2/classes.rb', line 464 def value_frequency_upper_bound @value_frequency_upper_bound end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 471 472 473 474 475 476 477 | # File 'generated/google/apis/dlp_v2/classes.rb', line 471 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 |