Class: Google::Apis::FitnessV1::AggregateResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/fitness_v1/classes.rb,
lib/google/apis/fitness_v1/representations.rb,
lib/google/apis/fitness_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AggregateResponse

Returns a new instance of AggregateResponse.



198
199
200
# File 'lib/google/apis/fitness_v1/classes.rb', line 198

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bucketArray<Google::Apis::FitnessV1::AggregateBucket>

A list of buckets containing the aggregated data. Corresponds to the JSON property bucket



196
197
198
# File 'lib/google/apis/fitness_v1/classes.rb', line 196

def bucket
  @bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



203
204
205
# File 'lib/google/apis/fitness_v1/classes.rb', line 203

def update!(**args)
  @bucket = args[:bucket] if args.key?(:bucket)
end