Class DataPoint
Represents a single data point, generated by a particular data source. A data point holds a value for each field, an end timestamp and an optional start time. The exact semantics of each of these attributes are specified in the documentation for the particular data type. A data point can represent an instantaneous measurement, reading or input observation, as well as averages or aggregates over a time interval. Check the data type documentation to determine which is the case for a particular data type. Data points always contain one value for each field of the data type.
Implements
Inherited Members
Namespace: Google.Apis.Fitness.v1.Data
Assembly: Google.Apis.Fitness.v1.dll
Syntax
public class DataPoint : IDirectResponseSchema
Properties
ComputationTimeMillis
DO NOT USE THIS FIELD. It is ignored, and not stored.
Declaration
[JsonProperty("computationTimeMillis")]
public virtual long? ComputationTimeMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
DataTypeName
The data type defining the format of the values in this data point.
Declaration
[JsonProperty("dataTypeName")]
public virtual string DataTypeName { 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 |
EndTimeNanos
The end time of the interval represented by this data point, in nanoseconds since epoch.
Declaration
[JsonProperty("endTimeNanos")]
public virtual long? EndTimeNanos { get; set; }
Property Value
Type | Description |
---|---|
long? |
ModifiedTimeMillis
Indicates the last time this data point was modified. Useful only in contexts where we are listing the data changes, rather than representing the current state of the data.
Declaration
[JsonProperty("modifiedTimeMillis")]
public virtual long? ModifiedTimeMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
OriginDataSourceId
If the data point is contained in a dataset for a derived data source, this field will be populated with the data source stream ID that created the data point originally. WARNING: do not rely on this field for anything other than debugging. The value of this field, if it is set at all, is an implementation detail and is not guaranteed to remain consistent.
Declaration
[JsonProperty("originDataSourceId")]
public virtual string OriginDataSourceId { get; set; }
Property Value
Type | Description |
---|---|
string |
RawTimestampNanos
The raw timestamp from the original SensorEvent.
Declaration
[JsonProperty("rawTimestampNanos")]
public virtual long? RawTimestampNanos { get; set; }
Property Value
Type | Description |
---|---|
long? |
StartTimeNanos
The start time of the interval represented by this data point, in nanoseconds since epoch.
Declaration
[JsonProperty("startTimeNanos")]
public virtual long? StartTimeNanos { get; set; }
Property Value
Type | Description |
---|---|
long? |
Value
Values of each data type field for the data point. It is expected that each value corresponding to a data type field will occur in the same order that the field is listed with in the data type specified in a data source. Only one of integer and floating point fields will be populated, depending on the format enum value within data source's type field.
Declaration
[JsonProperty("value")]
public virtual IList<Value> Value { get; set; }
Property Value
Type | Description |
---|---|
IList<Value> |