Class RollUpDataPointsRequest
Request to roll up data points by physical time intervals.
Implements
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4.Data
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class RollUpDataPointsRequest : IDirectResponseSchema
Properties
DataSourceFamily
Optional. The data source family name to roll up. If empty, data points from all available data sources will
be rolled up. Format: users/me/dataSourceFamilies/{data_source_family} The supported values are: -
users/me/dataSourceFamilies/all-sources - default value - users/me/dataSourceFamilies/google-wearables -
tracker devices - users/me/dataSourceFamilies/google-sources - Google first party sources
Declaration
[JsonProperty("dataSourceFamily")]
public virtual string DataSourceFamily { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. The maximum number of data points to return. If unspecified, at most 1440 data points will be returned. The maximum page size is 10000; values above that will be truncated accordingly.
Declaration
[JsonProperty("pageSize")]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. The next_page_token from a previous request, if any. All other request fields need to be the same as in the initial request when the page token is specified.
Declaration
[JsonProperty("pageToken")]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Range
Required. Closed-open range of data points that will be rolled up. The maximum range for
calories-in-heart-rate-zone, heart-rate, active-minutes and total-calories is 14 days. The maximum
range for all other data types is 90 days.
Declaration
[JsonProperty("range")]
public virtual Interval Range { get; set; }
Property Value
| Type | Description |
|---|---|
| Interval |
WindowSize
Required. The size of the time window to group data points into before applying the aggregation functions.
Declaration
[JsonProperty("windowSize")]
public virtual object WindowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| object |