Class: Google::Apis::JobsV3::BucketRange
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::JobsV3::BucketRange
 
 
- 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
Represents starting and ending value of a range in double.
Instance Attribute Summary collapse
- 
  
    
      #from  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Starting value of the bucket range.
 - 
  
    
      #to  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Ending value of the bucket range.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BucketRange 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of BucketRange.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BucketRange
Returns a new instance of BucketRange
      114 115 116  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 114 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#from ⇒ Float
Starting value of the bucket range.
Corresponds to the JSON property from
      107 108 109  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 107 def from @from end  | 
  
#to ⇒ Float
Ending value of the bucket range.
Corresponds to the JSON property to
      112 113 114  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 112 def to @to end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      119 120 121 122  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 119 def update!(**args) @from = args[:from] if args.key?(:from) @to = args[:to] if args.key?(:to) end  |