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.
3926 3927 3928 |
# File 'lib/google/apis/health_v4/classes.rb', line 3926 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
3924 3925 3926 |
# File 'lib/google/apis/health_v4/classes.rb', line 3924 def count_sum @count_sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3931 3932 3933 |
# File 'lib/google/apis/health_v4/classes.rb', line 3931 def update!(**args) @count_sum = args[:count_sum] if args.key?(:count_sum) end |