class Google::Apis::FitnessV1::BucketByTime

Attributes

duration_millis[RW]

Specifies that result buckets aggregate data by exactly durationMillis time frames. Time frames that contain no data will be included in the response with an empty dataset. Corresponds to the JSON property `durationMillis` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/fitness_v1/classes.rb, line 297
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/fitness_v1/classes.rb, line 302
def update!(**args)
  @duration_millis = args[:duration_millis] if args.key?(:duration_millis)
end