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.
1098 1099 1100 |
# File 'lib/google/apis/health_v4/classes.rb', line 1098 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
1096 1097 1098 |
# File 'lib/google/apis/health_v4/classes.rb', line 1096 def calculation_method @calculation_method end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1103 1104 1105 |
# File 'lib/google/apis/health_v4/classes.rb', line 1103 def update!(**args) @calculation_method = args[:calculation_method] if args.key?(:calculation_method) end |