Class: Google::Apis::HealthV4::RunVo2MaxRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::RunVo2MaxRollupValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/health_v4/classes.rb,
lib/google/apis/health_v4/representations.rb,
lib/google/apis/health_v4/representations.rb
Overview
Represents the result of the rollup of the user's daily heart rate variability personal range.
Instance Attribute Summary collapse
-
#rate_avg ⇒ Float
Average value of run VO2 max in the interval.
-
#rate_max ⇒ Float
Maximum value of run VO2 max in the interval.
-
#rate_min ⇒ Float
Minimum value of run VO2 max in the interval..
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunVo2MaxRollupValue
constructor
A new instance of RunVo2MaxRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RunVo2MaxRollupValue
Returns a new instance of RunVo2MaxRollupValue.
3329 3330 3331 |
# File 'lib/google/apis/health_v4/classes.rb', line 3329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rate_avg ⇒ Float
Average value of run VO2 max in the interval.
Corresponds to the JSON property rateAvg
3317 3318 3319 |
# File 'lib/google/apis/health_v4/classes.rb', line 3317 def rate_avg @rate_avg end |
#rate_max ⇒ Float
Maximum value of run VO2 max in the interval.
Corresponds to the JSON property rateMax
3322 3323 3324 |
# File 'lib/google/apis/health_v4/classes.rb', line 3322 def rate_max @rate_max end |
#rate_min ⇒ Float
Minimum value of run VO2 max in the interval..
Corresponds to the JSON property rateMin
3327 3328 3329 |
# File 'lib/google/apis/health_v4/classes.rb', line 3327 def rate_min @rate_min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3334 3335 3336 3337 3338 |
# File 'lib/google/apis/health_v4/classes.rb', line 3334 def update!(**args) @rate_avg = args[:rate_avg] if args.key?(:rate_avg) @rate_max = args[:rate_max] if args.key?(:rate_max) @rate_min = args[:rate_min] if args.key?(:rate_min) end |