Class: Google::Apis::FitnessV1::BucketBySession
- Inherits:
-
Object
- Object
- Google::Apis::FitnessV1::BucketBySession
- 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
-
#min_duration_millis ⇒ Fixnum
Specifies that only sessions of duration longer than minDurationMillis are considered and used as a container for aggregated data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BucketBySession
constructor
A new instance of BucketBySession.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BucketBySession
Returns a new instance of BucketBySession.
289 290 291 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#min_duration_millis ⇒ Fixnum
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
287 288 289 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 287 def min_duration_millis @min_duration_millis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
294 295 296 |
# File 'lib/google/apis/fitness_v1/classes.rb', line 294 def update!(**args) @min_duration_millis = args[:min_duration_millis] if args.key?(:min_duration_millis) end |