Class: Google::Apis::FitnessV1::BucketBySession

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BucketBySession

Returns a new instance of BucketBySession.


284
285
286
# File 'generated/google/apis/fitness_v1/classes.rb', line 284

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

Instance Attribute Details

#min_duration_millisString

Specifies that only sessions of duration longer than minDurationMillis are considered and used as a container for aggregated data. Corresponds to the JSON property minDurationMillis

Returns:

  • (String)

282
283
284
# File 'generated/google/apis/fitness_v1/classes.rb', line 282

def min_duration_millis
  @min_duration_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


289
290
291
# File 'generated/google/apis/fitness_v1/classes.rb', line 289

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