Class UsersResource.DataTypesResource.DataPointsResource.ReconcileRequest
Reconcile data points from multiple data sources into a single data stream.
Inheritance
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4beta
Assembly: Google.Apis.GoogleHealthAPI.v4beta.dll
Syntax
public class UsersResource.DataTypesResource.DataPointsResource.ReconcileRequest : GoogleHealthAPIBaseServiceRequest<ReconcileDataPointsResponse>, IClientServiceRequest<ReconcileDataPointsResponse>, IClientServiceRequest
Constructors
ReconcileRequest(IClientService, string)
Constructs a new Reconcile request.
Declaration
public ReconcileRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
DataSourceFamily
Optional. The data source family name to reconcile. If empty, data points from all data sources
will be reconciled. Format: users/me/dataSourceFamilies/{data_source_family} -
users/me/dataSourceFamilies/all-sources - Default value. Includes data from all available data
sources. - users/me/dataSourceFamilies/google-wearables - Includes data from Google and Fitbit
tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. -
users/me/dataSourceFamilies/google-sources - Includes first-party Google data, such as data
from tracker devices, manually logged data, and Health Connect. -
users/me/dataSourceFamilies/self-sources - Includes only the data the calling client wrote
through this API, that is, data points whose data source was registered through this API with
the same OAuth client ID as the caller. Callers that were only granted write scopes for the
requested data type may only read the data they wrote themselves: their requests are implicitly
restricted to self-sources, and requesting any other data source family fails with
PERMISSION_DENIED. If no data point matches the requested data source family, the response is
an empty list rather than an error.
Declaration
[RequestParameter("dataSourceFamily", RequestParameterType.Query)]
public virtual string DataSourceFamily { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Filter
Optional. Filter expression based on https://aip.dev/160. A time range, either physical or civil, can be specified. See the ListDataPointsRequest.filter for the supported fields and syntax.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PageSize
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. For exercise and sleep the default page size is 25. The maximum page size for
exercise and sleep is 25.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. The next_page_token from a previous request, if any.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. Parent data type of the Data Point collection. Format:
users/me/dataTypes/{data_type}, e.g.: - users/me/dataTypes/steps -
users/me/dataTypes/heart-rate For a list of the supported data types see the DataPoint data
union field.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Reconcile parameter list.
Declaration
protected override void InitParameters()