Class: Google::Apis::HealthV4::RestingHeartRatePersonalRangeRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::RestingHeartRatePersonalRangeRollupValue
- 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 rollup value for the daily resting heart rate data type.
Instance Attribute Summary collapse
-
#beats_per_minute_max ⇒ Float
The upper bound of the user's daily resting heart rate personal range.
-
#beats_per_minute_min ⇒ Float
The lower bound of the user's daily resting heart rate personal range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestingHeartRatePersonalRangeRollupValue
constructor
A new instance of RestingHeartRatePersonalRangeRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestingHeartRatePersonalRangeRollupValue
Returns a new instance of RestingHeartRatePersonalRangeRollupValue.
3061 3062 3063 |
# File 'lib/google/apis/health_v4/classes.rb', line 3061 def initialize(**args) update!(**args) end |
Instance Attribute Details
#beats_per_minute_max ⇒ Float
The upper bound of the user's daily resting heart rate personal range.
Corresponds to the JSON property beatsPerMinuteMax
3054 3055 3056 |
# File 'lib/google/apis/health_v4/classes.rb', line 3054 def beats_per_minute_max @beats_per_minute_max end |
#beats_per_minute_min ⇒ Float
The lower bound of the user's daily resting heart rate personal range.
Corresponds to the JSON property beatsPerMinuteMin
3059 3060 3061 |
# File 'lib/google/apis/health_v4/classes.rb', line 3059 def beats_per_minute_min @beats_per_minute_min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3066 3067 3068 3069 |
# File 'lib/google/apis/health_v4/classes.rb', line 3066 def update!(**args) @beats_per_minute_max = args[:beats_per_minute_max] if args.key?(:beats_per_minute_max) @beats_per_minute_min = args[:beats_per_minute_min] if args.key?(:beats_per_minute_min) end |