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

DataPoint

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

A computed or recorded metric.

interface DataPoint {
activeMinutes?: ActiveMinutes;
activeZoneMinutes?: ActiveZoneMinutes;
activityLevel?: ActivityLevel;
altitude?: Altitude;
bodyFat?: BodyFat;
dailyHeartRateVariability?: DailyHeartRateVariability;
dailyHeartRateZones?: DailyHeartRateZones;
dailyOxygenSaturation?: DailyOxygenSaturation;
dailyRespiratoryRate?: DailyRespiratoryRate;
dailyRestingHeartRate?: DailyRestingHeartRate;
dailySleepTemperatureDerivations?: DailySleepTemperatureDerivations;
dailyVo2Max?: DailyVO2Max;
dataSource?: DataSource;
distance?: Distance;
exercise?: Exercise;
floors?: Floors;
heartRate?: HeartRate;
heartRateVariability?: HeartRateVariability;
hydrationLog?: HydrationLog;
name?: string;
oxygenSaturation?: OxygenSaturation;
respiratoryRateSleepSummary?: RespiratoryRateSleepSummary;
runVo2Max?: RunVO2Max;
sedentaryPeriod?: SedentaryPeriod;
sleep?: Sleep;
steps?: Steps;
timeInHeartRateZone?: TimeInHeartRateZone;
vo2Max?: VO2Max;
weight?: Weight;
}

§Properties

§
activeMinutes?: ActiveMinutes
[src]

Optional. Data for points in the active-minutes interval data type collection.

§
activeZoneMinutes?: ActiveZoneMinutes
[src]

Optional. Data for points in the active-zone-minutes interval data type collection, measured in minutes.

§
activityLevel?: ActivityLevel
[src]

Optional. Data for points in the activity-level daily data type collection.

§
altitude?: Altitude
[src]

Optional. Data for points in the altitude interval data type collection.

§
bodyFat?: BodyFat
[src]

Optional. Data for points in the body-fat sample data type collection.

§
dailyHeartRateVariability?: DailyHeartRateVariability
[src]

Optional. Data for points in the daily-heart-rate-variability daily data type collection.

§
dailyHeartRateZones?: DailyHeartRateZones
[src]

Optional. Data for points in the daily-heart-rate-zones daily data type collection.

§
dailyOxygenSaturation?: DailyOxygenSaturation
[src]

Optional. Data for points in the daily-oxygen-saturation daily data type collection.

§
dailyRespiratoryRate?: DailyRespiratoryRate
[src]

Optional. Data for points in the daily-respiratory-rate daily data type collection.

§
dailyRestingHeartRate?: DailyRestingHeartRate
[src]

Optional. Data for points in the daily-resting-heart-rate daily data type collection.

§
dailySleepTemperatureDerivations?: DailySleepTemperatureDerivations
[src]

Optional. Data for points in the daily-sleep-temperature-derivations daily data type collection.

§
dailyVo2Max?: DailyVO2Max
[src]

Optional. Data for points in the daily-vo2-max daily data type collection.

§
dataSource?: DataSource
[src]

Optional. Data source information for the metric

§
distance?: Distance
[src]

Optional. Data for points in the distance interval data type collection.

§
exercise?: Exercise
[src]

Optional. Data for points in the exercise session data type collection.

§
floors?: Floors
[src]

Optional. Data for points in the floors interval data type collection.

§
heartRate?: HeartRate
[src]

Optional. Data for points in the heart-rate sample data type collection.

§
heartRateVariability?: HeartRateVariability
[src]

Optional. Data for points in the heart-rate-variability sample data type collection.

§
hydrationLog?: HydrationLog
[src]

Optional. Data for points in the hydration-log session data type collection.

§
name?: string
[src]

Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point} Example: users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef The {user} ID is a system-generated identifier, as described in Profile.encoded_id. The {data_type} ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. total-calories for the total_calories field. The {data_point} ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.

§
oxygenSaturation?: OxygenSaturation
[src]

Optional. Data for points in the oxygen-saturation sample data type collection.

§
respiratoryRateSleepSummary?: RespiratoryRateSleepSummary
[src]

Optional. Data for points in the respiratory-rate-sleep-summary sample data type collection.

§
runVo2Max?: RunVO2Max
[src]

Optional. Data for points in the run-vo2-max sample data type collection.

§
sedentaryPeriod?: SedentaryPeriod
[src]

Optional. Data for points in the sedentary-period interval data type collection.

§
sleep?: Sleep
[src]

Optional. Data for points in the sleep session data type collection.

§
steps?: Steps
[src]

Optional. Data for points in the steps interval data type collection.

§
timeInHeartRateZone?: TimeInHeartRateZone
[src]

Optional. Data for points in the time-in-heart-rate-zone interval data type collection.

§
vo2Max?: VO2Max
[src]

Optional. Data for points in the vo2-max sample data type collection.

§
weight?: Weight
[src]

Optional. Data for points in the weight sample data type collection.