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.
782 783 784 |
# File 'lib/google/apis/health_v4/classes.rb', line 782 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
780 781 782 |
# File 'lib/google/apis/health_v4/classes.rb', line 780 def calculation_method @calculation_method end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
787 788 789 |
# File 'lib/google/apis/health_v4/classes.rb', line 787 def update!(**args) @calculation_method = args[:calculation_method] if args.key?(:calculation_method) end |