Class: Google::Apis::FitnessV1::AggregateResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FitnessV1::AggregateResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fitness_v1/classes.rb,
 generated/google/apis/fitness_v1/representations.rb,
 generated/google/apis/fitness_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #bucket  ⇒ Array<Google::Apis::FitnessV1::AggregateBucket> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of buckets containing the aggregated data. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AggregateResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AggregateResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AggregateResponse
Returns a new instance of AggregateResponse
| 193 194 195 | # File 'generated/google/apis/fitness_v1/classes.rb', line 193 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#bucket ⇒ Array<Google::Apis::FitnessV1::AggregateBucket>
A list of buckets containing the aggregated data.
Corresponds to the JSON property bucket
| 191 192 193 | # File 'generated/google/apis/fitness_v1/classes.rb', line 191 def bucket @bucket end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 198 199 200 | # File 'generated/google/apis/fitness_v1/classes.rb', line 198 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) end |