Class: Google::Apis::HealthV4::DailyRestingHeartRateMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_methodString

Required. The method used to calculate the resting heart rate. Corresponds to the JSON property calculationMethod

Returns:

  • (String)


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