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.



809
810
811
# File 'lib/google/apis/health_v4/classes.rb', line 809

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)


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