Class: Google::Apis::HealthV4::HeartRateVariabilityPersonalRangeRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::HeartRateVariabilityPersonalRangeRollupValue
- 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
-
#average_heart_rate_variability_milliseconds_max ⇒ Float
The upper bound of the user's average heart rate variability personal range.
-
#average_heart_rate_variability_milliseconds_min ⇒ Float
The lower bound of the user's average heart rate variability personal range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HeartRateVariabilityPersonalRangeRollupValue
constructor
A new instance of HeartRateVariabilityPersonalRangeRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HeartRateVariabilityPersonalRangeRollupValue
Returns a new instance of HeartRateVariabilityPersonalRangeRollupValue.
2840 2841 2842 |
# File 'lib/google/apis/health_v4/classes.rb', line 2840 def initialize(**args) update!(**args) end |
Instance Attribute Details
#average_heart_rate_variability_milliseconds_max ⇒ Float
The upper bound of the user's average heart rate variability personal range.
Corresponds to the JSON property averageHeartRateVariabilityMillisecondsMax
2833 2834 2835 |
# File 'lib/google/apis/health_v4/classes.rb', line 2833 def average_heart_rate_variability_milliseconds_max @average_heart_rate_variability_milliseconds_max end |
#average_heart_rate_variability_milliseconds_min ⇒ Float
The lower bound of the user's average heart rate variability personal range.
Corresponds to the JSON property averageHeartRateVariabilityMillisecondsMin
2838 2839 2840 |
# File 'lib/google/apis/health_v4/classes.rb', line 2838 def average_heart_rate_variability_milliseconds_min @average_heart_rate_variability_milliseconds_min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2845 2846 2847 2848 |
# File 'lib/google/apis/health_v4/classes.rb', line 2845 def update!(**args) @average_heart_rate_variability_milliseconds_max = args[:average_heart_rate_variability_milliseconds_max] if args.key?(:average_heart_rate_variability_milliseconds_max) @average_heart_rate_variability_milliseconds_min = args[:average_heart_rate_variability_milliseconds_min] if args.key?(:average_heart_rate_variability_milliseconds_min) end |