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.



854
855
856
# File 'lib/google/apis/health_v4/classes.rb', line 854

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



852
853
854
# File 'lib/google/apis/health_v4/classes.rb', line 852

def rollup_data_points
  @rollup_data_points
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



859
860
861
# File 'lib/google/apis/health_v4/classes.rb', line 859

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