Class: Google::Apis::HealthV4::DailyRollUpDataPointsResponse

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

Response containing the list of rolled up data points.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DailyRollUpDataPointsResponse

Returns a new instance of DailyRollUpDataPointsResponse.



881
882
883
# File 'lib/google/apis/health_v4/classes.rb', line 881

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rollup_data_pointsArray<Google::Apis::HealthV4::DailyRollupDataPoint>

Values for each aggregation time window. Corresponds to the JSON property rollupDataPoints



879
880
881
# File 'lib/google/apis/health_v4/classes.rb', line 879

def rollup_data_points
  @rollup_data_points
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



886
887
888
# File 'lib/google/apis/health_v4/classes.rb', line 886

def update!(**args)
  @rollup_data_points = args[:rollup_data_points] if args.key?(:rollup_data_points)
end