Class: Google::Apis::JobsV2::BucketizedCount
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::JobsV2::BucketizedCount
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/jobs_v2/classes.rb,
generated/google/apis/jobs_v2/representations.rb,
generated/google/apis/jobs_v2/representations.rb 
Overview
Represents count of jobs within one bucket.
Instance Attribute Summary collapse
- 
  
    
      #count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Number of jobs whose numeric field value fall into
range. - 
  
    
      #range  ⇒ Google::Apis::JobsV2::BucketRange 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents starting and ending value of a range in double.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BucketizedCount 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of BucketizedCount.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BucketizedCount
Returns a new instance of BucketizedCount
      90 91 92  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 90 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#count ⇒ Fixnum
Number of jobs whose numeric field value fall into range.
Corresponds to the JSON property count
      83 84 85  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 83 def count @count end  | 
  
#range ⇒ Google::Apis::JobsV2::BucketRange
Represents starting and ending value of a range in double.
Corresponds to the JSON property range
      88 89 90  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 88 def range @range end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      95 96 97 98  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 95 def update!(**args) @count = args[:count] if args.key?(:count) @range = args[:range] if args.key?(:range) end  |