Class: Google::Apis::HealthV4::StepsRollupValue
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::StepsRollupValue
- 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
Represents the result of the rollup of the steps data type.
Instance Attribute Summary collapse
-
#count_sum ⇒ Fixnum
Total number of steps in the interval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StepsRollupValue
constructor
A new instance of StepsRollupValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StepsRollupValue
Returns a new instance of StepsRollupValue.
5325 5326 5327 |
# File 'lib/google/apis/health_v4/classes.rb', line 5325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count_sum ⇒ Fixnum
Total number of steps in the interval.
Corresponds to the JSON property countSum
5323 5324 5325 |
# File 'lib/google/apis/health_v4/classes.rb', line 5323 def count_sum @count_sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5330 5331 5332 |
# File 'lib/google/apis/health_v4/classes.rb', line 5330 def update!(**args) @count_sum = args[:count_sum] if args.key?(:count_sum) end |