Class DataPoint
A computed or recorded metric.
Implements
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class DataPoint : IMessage<DataPoint>, IEquatable<DataPoint>, IDeepCloneable<DataPoint>, IBufferMessage, IMessage
Constructors
DataPoint()
Declaration
public DataPoint()
DataPoint(DataPoint)
Declaration
public DataPoint(DataPoint other)
Parameters
| Type | Name | Description |
|---|---|---|
| DataPoint | other |
Properties
ActiveMinutes
Optional. Data for points in the active-minutes interval data type
collection.
Declaration
public ActiveMinutes ActiveMinutes { get; set; }
Property Value
| Type | Description |
|---|---|
| ActiveMinutes |
ActiveZoneMinutes
Optional. Data for points in the active-zone-minutes interval data type
collection, measured in minutes.
Declaration
public ActiveZoneMinutes ActiveZoneMinutes { get; set; }
Property Value
| Type | Description |
|---|---|
| ActiveZoneMinutes |
ActivityLevel
Optional. Data for points in the activity-level daily data type
collection.
Declaration
public ActivityLevel ActivityLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| ActivityLevel |
Altitude
Optional. Data for points in the altitude interval data type
collection.
Declaration
public Altitude Altitude { get; set; }
Property Value
| Type | Description |
|---|---|
| Altitude |
BasalEnergyBurned
Optional. Data for points in the basal-energy-burned interval data type
collection.
Declaration
public BasalEnergyBurned BasalEnergyBurned { get; set; }
Property Value
| Type | Description |
|---|---|
| BasalEnergyBurned |
BodyFat
Optional. Data for points in the body-fat sample data type collection.
Declaration
public BodyFat BodyFat { get; set; }
Property Value
| Type | Description |
|---|---|
| BodyFat |
DailyHeartRateVariability
Optional. Data for points in the daily-heart-rate-variability daily
data type collection.
Declaration
public DailyHeartRateVariability DailyHeartRateVariability { get; set; }
Property Value
| Type | Description |
|---|---|
| DailyHeartRateVariability |
DailyHeartRateZones
Optional. Data for points in the daily-heart-rate-zones daily data type
collection.
Declaration
public DailyHeartRateZones DailyHeartRateZones { get; set; }
Property Value
| Type | Description |
|---|---|
| DailyHeartRateZones |
DailyOxygenSaturation
Optional. Data for points in the daily-oxygen-saturation daily data
type collection.
Declaration
public DailyOxygenSaturation DailyOxygenSaturation { get; set; }
Property Value
| Type | Description |
|---|---|
| DailyOxygenSaturation |
DailyRespiratoryRate
Optional. Data for points in the daily-respiratory-rate daily data type
collection.
Declaration
public DailyRespiratoryRate DailyRespiratoryRate { get; set; }
Property Value
| Type | Description |
|---|---|
| DailyRespiratoryRate |
DailyRestingHeartRate
Optional. Data for points in the daily-resting-heart-rate daily data
type collection.
Declaration
public DailyRestingHeartRate DailyRestingHeartRate { get; set; }
Property Value
| Type | Description |
|---|---|
| DailyRestingHeartRate |
DailySleepTemperatureDerivations
Optional. Data for points in the daily-sleep-temperature-derivations
daily data type collection.
Declaration
public DailySleepTemperatureDerivations DailySleepTemperatureDerivations { get; set; }
Property Value
| Type | Description |
|---|---|
| DailySleepTemperatureDerivations |
DailyVo2Max
Optional. Data for points in the daily-vo2-max daily data type
collection.
Declaration
public DailyVO2Max DailyVo2Max { get; set; }
Property Value
| Type | Description |
|---|---|
| DailyVO2Max |
DataCase
Declaration
public DataPoint.DataOneofCase DataCase { get; }
Property Value
| Type | Description |
|---|---|
| DataPoint.DataOneofCase |
DataPointName
DataPointName-typed view over the Name resource name property.
Declaration
public DataPointName DataPointName { get; set; }
Property Value
| Type | Description |
|---|---|
| DataPointName |
DataSource
Optional. Data source information for the metric
Declaration
public DataSource DataSource { get; set; }
Property Value
| Type | Description |
|---|---|
| DataSource |
Distance
Optional. Data for points in the distance interval data type
collection.
Declaration
public Distance Distance { get; set; }
Property Value
| Type | Description |
|---|---|
| Distance |
Exercise
Optional. Data for points in the exercise session data type collection.
Declaration
public Exercise Exercise { get; set; }
Property Value
| Type | Description |
|---|---|
| Exercise |
Floors
Optional. Data for points in the floors interval data type collection.
Declaration
public Floors Floors { get; set; }
Property Value
| Type | Description |
|---|---|
| Floors |
HeartRate
Optional. Data for points in the heart-rate sample data type
collection.
Declaration
public HeartRate HeartRate { get; set; }
Property Value
| Type | Description |
|---|---|
| HeartRate |
HeartRateVariability
Optional. Data for points in the heart-rate-variability sample data
type collection.
Declaration
public HeartRateVariability HeartRateVariability { get; set; }
Property Value
| Type | Description |
|---|---|
| HeartRateVariability |
Height
Optional. Data for points in the height sample data type collection.
Declaration
public Height Height { get; set; }
Property Value
| Type | Description |
|---|---|
| Height |
HydrationLog
Optional. Data for points in the hydration-log session data type
collection.
Declaration
public HydrationLog HydrationLog { get; set; }
Property Value
| Type | Description |
|---|---|
| HydrationLog |
Name
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
[Identity.health_user_id][google.devicesandservices.health.v4.Identity.health_user_id].
The {data_type} ID corresponds to the kebab-case version of the field
names in the [DataPoint
data][google.devicesandservices.health.v4.DataPoint] 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.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OxygenSaturation
Optional. Data for points in the oxygen-saturation sample data type
collection.
Declaration
public OxygenSaturation OxygenSaturation { get; set; }
Property Value
| Type | Description |
|---|---|
| OxygenSaturation |
RespiratoryRateSleepSummary
Optional. Data for points in the respiratory-rate-sleep-summary sample
data type collection.
Declaration
public RespiratoryRateSleepSummary RespiratoryRateSleepSummary { get; set; }
Property Value
| Type | Description |
|---|---|
| RespiratoryRateSleepSummary |
RunVo2Max
Optional. Data for points in the run-vo2-max sample data type
collection.
Declaration
public RunVO2Max RunVo2Max { get; set; }
Property Value
| Type | Description |
|---|---|
| RunVO2Max |
SedentaryPeriod
Optional. Data for points in the sedentary-period interval data type
collection.
Declaration
public SedentaryPeriod SedentaryPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| SedentaryPeriod |
Sleep
Optional. Data for points in the sleep session data type collection.
Declaration
public Sleep Sleep { get; set; }
Property Value
| Type | Description |
|---|---|
| Sleep |
Steps
Optional. Data for points in the steps interval data type collection.
Declaration
public Steps Steps { get; set; }
Property Value
| Type | Description |
|---|---|
| Steps |
SwimLengthsData
Optional. Data for points in the swim-lengths-data interval data type
collection.
Declaration
public SwimLengthsData SwimLengthsData { get; set; }
Property Value
| Type | Description |
|---|---|
| SwimLengthsData |
TimeInHeartRateZone
Optional. Data for points in the time-in-heart-rate-zone interval data
type collection.
Declaration
public TimeInHeartRateZone TimeInHeartRateZone { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeInHeartRateZone |
Vo2Max
Optional. Data for points in the vo2-max sample data type collection.
Declaration
public VO2Max Vo2Max { get; set; }
Property Value
| Type | Description |
|---|---|
| VO2Max |
Weight
Optional. Data for points in the weight sample data type collection.
Declaration
public Weight Weight { get; set; }
Property Value
| Type | Description |
|---|---|
| Weight |