Class: Google::Apis::JobsV3::NumericBucketingResult
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::JobsV3::NumericBucketingResult
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/jobs_v3/classes.rb,
generated/google/apis/jobs_v3/representations.rb,
generated/google/apis/jobs_v3/representations.rb 
Overview
Output only. Custom numeric bucketing result.
Instance Attribute Summary collapse
- 
  
    
      #counts  ⇒ Array<Google::Apis::JobsV3::BucketizedCount> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Count within each bucket.
 - 
  
    
      #max_value  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Stores the maximum value of the numeric field.
 - 
  
    
      #min_value  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Stores the minimum value of the numeric field.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ NumericBucketingResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of NumericBucketingResult.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NumericBucketingResult
Returns a new instance of NumericBucketingResult
      1891 1892 1893  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1891 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#counts ⇒ Array<Google::Apis::JobsV3::BucketizedCount>
Count within each bucket. Its size is the length of
NumericBucketingOption.bucket_bounds plus 1.
Corresponds to the JSON property counts
      1877 1878 1879  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1877 def counts @counts end  | 
  
#max_value ⇒ Float
Stores the maximum value of the numeric field. Is populated only if
[NumericBucketingOption.requires_min_max] is set to true.
Corresponds to the JSON property maxValue
      1883 1884 1885  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1883 def max_value @max_value end  | 
  
#min_value ⇒ Float
Stores the minimum value of the numeric field. Will be populated only if
[NumericBucketingOption.requires_min_max] is set to true.
Corresponds to the JSON property minValue
      1889 1890 1891  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1889 def min_value @min_value end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1896 1897 1898 1899 1900  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1896 def update!(**args) @counts = args[:counts] if args.key?(:counts) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) end  |