Class: Google::Api::Distribution::BucketOptions::Exponential
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Api::Distribution::BucketOptions::Exponential
 
 
- Defined in:
 - lib/google/cloud/logging/v2/doc/google/api/distribution.rb
 
Overview
Specify a sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.
Defines +num_finite_buckets + 2+ (= N) buckets with these boundaries for bucket i:
Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
Instance Attribute Summary collapse
- 
  
    
      #growth_factor  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Must be greater than 1.
 - 
  
    
      #num_finite_buckets  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Must be greater than 0.
 - 
  
    
      #scale  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Must be greater than 0.
 
Instance Attribute Details
#growth_factor ⇒ Float
Returns Must be greater than 1.
      153  | 
    
      # File 'lib/google/cloud/logging/v2/doc/google/api/distribution.rb', line 153 class Exponential; end  | 
  
#num_finite_buckets ⇒ Integer
Returns Must be greater than 0.
      153  | 
    
      # File 'lib/google/cloud/logging/v2/doc/google/api/distribution.rb', line 153 class Exponential; end  | 
  
#scale ⇒ Float
Returns Must be greater than 0.
      153  | 
    
      # File 'lib/google/cloud/logging/v2/doc/google/api/distribution.rb', line 153 class Exponential; end  |