Class: Google::Apis::HealthV4::DailyRestingHeartRateMetadata
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::DailyRestingHeartRateMetadata
- 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
Metadata for the daily resting heart rate.
Instance Attribute Summary collapse
-
#calculation_method ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DailyRestingHeartRateMetadata
constructor
A new instance of DailyRestingHeartRateMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DailyRestingHeartRateMetadata
Returns a new instance of DailyRestingHeartRateMetadata.
809 810 811 |
# File 'lib/google/apis/health_v4/classes.rb', line 809 def initialize(**args) update!(**args) end |
Instance Attribute Details
#calculation_method ⇒ String
Required. The method used to calculate the resting heart rate.
Corresponds to the JSON property calculationMethod
807 808 809 |
# File 'lib/google/apis/health_v4/classes.rb', line 807 def calculation_method @calculation_method end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
814 815 816 |
# File 'lib/google/apis/health_v4/classes.rb', line 814 def update!(**args) @calculation_method = args[:calculation_method] if args.key?(:calculation_method) end |