Class DataSource
Data Source definition to track the origin of data. Each health data point, regardless of the complexity or data model (whether a simple step count or a detailed sleep session) must retain information about its source of origin (e.g. the device or app that collected it).
Implements
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4.Data
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class DataSource : IDirectResponseSchema
Properties
Application
Output only. Captures metadata for the application that provided this data.
Declaration
[JsonProperty("application")]
public virtual Application Application { get; set; }
Property Value
| Type | Description |
|---|---|
| Application |
Device
Optional. Captures metadata for raw data points originating from devices. We expect this data source to be used for data points written on device sync.
Declaration
[JsonProperty("device")]
public virtual Device Device { get; set; }
Property Value
| Type | Description |
|---|---|
| Device |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Platform
Output only. Captures the platform that uploaded the data.
Declaration
[JsonProperty("platform")]
public virtual string Platform { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RecordingMethod
Optional. Captures how the data was recorded.
Declaration
[JsonProperty("recordingMethod")]
public virtual string RecordingMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| string |