Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RollUpDataPointsRequest

import type { RollUpDataPointsRequest } from "https://googleapis.deno.dev/v1/health:v4.ts";

Request to roll up data points by physical time intervals.

interface RollUpDataPointsRequest {
dataSourceFamily?: string;
pageSize?: number;
pageToken?: string;
range?: Interval;
windowSize?: number;
}

§Properties

§
dataSourceFamily?: string
[src]

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

§
pageSize?: number
[src]

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.

§
pageToken?: string
[src]

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.

§

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.

§
windowSize?: number
[src]

Required. The size of the time window to group data points into before applying the aggregation functions.