Class DataPointsServiceClientImpl
DataPointsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class DataPointsServiceClientImpl : DataPointsServiceClient
Remarks
Data Points Service exposing the user's health and fitness measured and derived data.
Constructors
DataPointsServiceClientImpl(DataPointsServiceClient, DataPointsServiceSettings, ILogger)
Constructs a client wrapper for the DataPointsService service, with the specified gRPC client and settings.
Declaration
public DataPointsServiceClientImpl(DataPointsService.DataPointsServiceClient grpcClient, DataPointsServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| DataPointsService.DataPointsServiceClient | grpcClient | The underlying gRPC client. |
| DataPointsServiceSettings | settings | The base DataPointsServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
BatchDeleteDataPointsOperationsClient
The long-running operations client for BatchDeleteDataPoints.
Declaration
public override OperationsClient BatchDeleteDataPointsOperationsClient { get; }
Property Value
| Type | Description |
|---|---|
| OperationsClient |
Overrides
CreateDataPointOperationsClient
The long-running operations client for CreateDataPoint.
Declaration
public override OperationsClient CreateDataPointOperationsClient { get; }
Property Value
| Type | Description |
|---|---|
| OperationsClient |
Overrides
GrpcClient
The underlying gRPC DataPointsService client
Declaration
public override DataPointsService.DataPointsServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| DataPointsService.DataPointsServiceClient |
Overrides
UpdateDataPointOperationsClient
The long-running operations client for UpdateDataPoint.
Declaration
public override OperationsClient UpdateDataPointOperationsClient { get; }
Property Value
| Type | Description |
|---|---|
| OperationsClient |
Overrides
Methods
BatchDeleteDataPoints(BatchDeleteDataPointsRequest, CallSettings)
Delete a batch of identifyable data points.
Declaration
public override Operation<BatchDeleteDataPointsResponse, BatchDeleteDataPointsOperationMetadata> BatchDeleteDataPoints(BatchDeleteDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Operation<BatchDeleteDataPointsResponse, BatchDeleteDataPointsOperationMetadata> | The RPC response. |
Overrides
BatchDeleteDataPointsAsync(BatchDeleteDataPointsRequest, CallSettings)
Delete a batch of identifyable data points.
Declaration
public override Task<Operation<BatchDeleteDataPointsResponse, BatchDeleteDataPointsOperationMetadata>> BatchDeleteDataPointsAsync(BatchDeleteDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Operation<BatchDeleteDataPointsResponse, BatchDeleteDataPointsOperationMetadata>> | A Task containing the RPC response. |
Overrides
CreateDataPoint(CreateDataPointRequest, CallSettings)
Creates a single identifiable data point.
Declaration
public override Operation<DataPoint, CreateDataPointOperationMetadata> CreateDataPoint(CreateDataPointRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDataPointRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Operation<DataPoint, CreateDataPointOperationMetadata> | The RPC response. |
Overrides
CreateDataPointAsync(CreateDataPointRequest, CallSettings)
Creates a single identifiable data point.
Declaration
public override Task<Operation<DataPoint, CreateDataPointOperationMetadata>> CreateDataPointAsync(CreateDataPointRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDataPointRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Operation<DataPoint, CreateDataPointOperationMetadata>> | A Task containing the RPC response. |
Overrides
DailyRollUpDataPoints(DailyRollUpDataPointsRequest, CallSettings)
Roll up data points over civil time intervals for supported data types.
Declaration
public override DailyRollUpDataPointsResponse DailyRollUpDataPoints(DailyRollUpDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DailyRollUpDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| DailyRollUpDataPointsResponse | The RPC response. |
Overrides
DailyRollUpDataPointsAsync(DailyRollUpDataPointsRequest, CallSettings)
Roll up data points over civil time intervals for supported data types.
Declaration
public override Task<DailyRollUpDataPointsResponse> DailyRollUpDataPointsAsync(DailyRollUpDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DailyRollUpDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<DailyRollUpDataPointsResponse> | A Task containing the RPC response. |
Overrides
ExportExerciseTcx(ExportExerciseTcxRequest, CallSettings)
Exports exercise data in TCX format.
Note: While the Authorization section below states that any one of the
listed scopes is accepted, this specific method requires the user to
provide both one of the activity_and_fitness scopes (normal or
readonly) AND one of the location scopes (normal or readonly) in
their access token to succeed.
Declaration
public override ExportExerciseTcxResponse ExportExerciseTcx(ExportExerciseTcxRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportExerciseTcxRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ExportExerciseTcxResponse | The RPC response. |
Overrides
ExportExerciseTcxAsync(ExportExerciseTcxRequest, CallSettings)
Exports exercise data in TCX format.
Note: While the Authorization section below states that any one of the
listed scopes is accepted, this specific method requires the user to
provide both one of the activity_and_fitness scopes (normal or
readonly) AND one of the location scopes (normal or readonly) in
their access token to succeed.
Declaration
public override Task<ExportExerciseTcxResponse> ExportExerciseTcxAsync(ExportExerciseTcxRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportExerciseTcxRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<ExportExerciseTcxResponse> | A Task containing the RPC response. |
Overrides
GetDataPoint(GetDataPointRequest, CallSettings)
Get a single identifyable data point.
Declaration
public override DataPoint GetDataPoint(GetDataPointRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataPointRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| DataPoint | The RPC response. |
Overrides
GetDataPointAsync(GetDataPointRequest, CallSettings)
Get a single identifyable data point.
Declaration
public override Task<DataPoint> GetDataPointAsync(GetDataPointRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataPointRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<DataPoint> | A Task containing the RPC response. |
Overrides
ListDataPoints(ListDataPointsRequest, CallSettings)
Query user health and fitness data points.
Declaration
public override PagedEnumerable<ListDataPointsResponse, DataPoint> ListDataPoints(ListDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListDataPointsResponse, DataPoint> | A pageable sequence of DataPoint resources. |
Overrides
ListDataPointsAsync(ListDataPointsRequest, CallSettings)
Query user health and fitness data points.
Declaration
public override PagedAsyncEnumerable<ListDataPointsResponse, DataPoint> ListDataPointsAsync(ListDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListDataPointsResponse, DataPoint> | A pageable asynchronous sequence of DataPoint resources. |
Overrides
ReconcileDataPoints(ReconcileDataPointsRequest, CallSettings)
Reconcile data points from multiple data sources into a single data stream.
Declaration
public override PagedEnumerable<ReconcileDataPointsResponse, ReconciledDataPoint> ReconcileDataPoints(ReconcileDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ReconcileDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ReconcileDataPointsResponse, ReconciledDataPoint> | A pageable sequence of ReconciledDataPoint resources. |
Overrides
ReconcileDataPointsAsync(ReconcileDataPointsRequest, CallSettings)
Reconcile data points from multiple data sources into a single data stream.
Declaration
public override PagedAsyncEnumerable<ReconcileDataPointsResponse, ReconciledDataPoint> ReconcileDataPointsAsync(ReconcileDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ReconcileDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ReconcileDataPointsResponse, ReconciledDataPoint> | A pageable asynchronous sequence of ReconciledDataPoint resources. |
Overrides
RollUpDataPoints(RollUpDataPointsRequest, CallSettings)
Roll up data points over physical time intervals for supported data types.
Declaration
public override PagedEnumerable<RollUpDataPointsResponse, RollupDataPoint> RollUpDataPoints(RollUpDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RollUpDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<RollUpDataPointsResponse, RollupDataPoint> | A pageable sequence of RollupDataPoint resources. |
Overrides
RollUpDataPointsAsync(RollUpDataPointsRequest, CallSettings)
Roll up data points over physical time intervals for supported data types.
Declaration
public override PagedAsyncEnumerable<RollUpDataPointsResponse, RollupDataPoint> RollUpDataPointsAsync(RollUpDataPointsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RollUpDataPointsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<RollUpDataPointsResponse, RollupDataPoint> | A pageable asynchronous sequence of RollupDataPoint resources. |
Overrides
UpdateDataPoint(UpdateDataPointRequest, CallSettings)
Updates a single identifiable data point. If a data point with the
specified name is not found, the request will fail.
Declaration
public override Operation<DataPoint, UpdateDataPointOperationMetadata> UpdateDataPoint(UpdateDataPointRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateDataPointRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Operation<DataPoint, UpdateDataPointOperationMetadata> | The RPC response. |
Overrides
UpdateDataPointAsync(UpdateDataPointRequest, CallSettings)
Updates a single identifiable data point. If a data point with the
specified name is not found, the request will fail.
Declaration
public override Task<Operation<DataPoint, UpdateDataPointOperationMetadata>> UpdateDataPointAsync(UpdateDataPointRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateDataPointRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Operation<DataPoint, UpdateDataPointOperationMetadata>> | A Task containing the RPC response. |