Show / Hide Table of Contents

Class DataPointsServiceClientImpl

DataPointsService client wrapper implementation, for convenient use.

Inheritance
object
DataPointsServiceClient
DataPointsServiceClientImpl
Inherited Members
DataPointsServiceClient.DefaultEndpoint
DataPointsServiceClient.DefaultScopes
DataPointsServiceClient.ServiceMetadata
DataPointsServiceClient.CreateAsync(CancellationToken)
DataPointsServiceClient.Create()
DataPointsServiceClient.ShutdownDefaultChannelsAsync()
DataPointsServiceClient.GetDataPointAsync(GetDataPointRequest, CancellationToken)
DataPointsServiceClient.GetDataPoint(string, CallSettings)
DataPointsServiceClient.GetDataPointAsync(string, CallSettings)
DataPointsServiceClient.GetDataPointAsync(string, CancellationToken)
DataPointsServiceClient.GetDataPoint(DataPointName, CallSettings)
DataPointsServiceClient.GetDataPointAsync(DataPointName, CallSettings)
DataPointsServiceClient.GetDataPointAsync(DataPointName, CancellationToken)
DataPointsServiceClient.ListDataPoints(string, string, int?, CallSettings)
DataPointsServiceClient.ListDataPointsAsync(string, string, int?, CallSettings)
DataPointsServiceClient.ListDataPoints(DataTypeName, string, int?, CallSettings)
DataPointsServiceClient.ListDataPointsAsync(DataTypeName, string, int?, CallSettings)
DataPointsServiceClient.CreateDataPointAsync(CreateDataPointRequest, CancellationToken)
DataPointsServiceClient.PollOnceCreateDataPoint(string, CallSettings)
DataPointsServiceClient.PollOnceCreateDataPointAsync(string, CallSettings)
DataPointsServiceClient.CreateDataPoint(string, DataPoint, CallSettings)
DataPointsServiceClient.CreateDataPointAsync(string, DataPoint, CallSettings)
DataPointsServiceClient.CreateDataPointAsync(string, DataPoint, CancellationToken)
DataPointsServiceClient.CreateDataPoint(DataTypeName, DataPoint, CallSettings)
DataPointsServiceClient.CreateDataPointAsync(DataTypeName, DataPoint, CallSettings)
DataPointsServiceClient.CreateDataPointAsync(DataTypeName, DataPoint, CancellationToken)
DataPointsServiceClient.UpdateDataPointAsync(UpdateDataPointRequest, CancellationToken)
DataPointsServiceClient.PollOnceUpdateDataPoint(string, CallSettings)
DataPointsServiceClient.PollOnceUpdateDataPointAsync(string, CallSettings)
DataPointsServiceClient.UpdateDataPoint(DataPoint, CallSettings)
DataPointsServiceClient.UpdateDataPointAsync(DataPoint, CallSettings)
DataPointsServiceClient.UpdateDataPointAsync(DataPoint, CancellationToken)
DataPointsServiceClient.BatchDeleteDataPointsAsync(BatchDeleteDataPointsRequest, CancellationToken)
DataPointsServiceClient.PollOnceBatchDeleteDataPoints(string, CallSettings)
DataPointsServiceClient.PollOnceBatchDeleteDataPointsAsync(string, CallSettings)
DataPointsServiceClient.DailyRollUpDataPointsAsync(DailyRollUpDataPointsRequest, CancellationToken)
DataPointsServiceClient.ExportExerciseTcxAsync(ExportExerciseTcxRequest, CancellationToken)
DataPointsServiceClient.ExportExerciseTcx(string, CallSettings)
DataPointsServiceClient.ExportExerciseTcxAsync(string, CallSettings)
DataPointsServiceClient.ExportExerciseTcxAsync(string, CancellationToken)
DataPointsServiceClient.ExportExerciseTcx(DataPointName, CallSettings)
DataPointsServiceClient.ExportExerciseTcxAsync(DataPointName, CallSettings)
DataPointsServiceClient.ExportExerciseTcxAsync(DataPointName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
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
DataPointsServiceClient.BatchDeleteDataPointsOperationsClient

CreateDataPointOperationsClient

The long-running operations client for CreateDataPoint.

Declaration
public override OperationsClient CreateDataPointOperationsClient { get; }
Property Value
Type Description
OperationsClient
Overrides
DataPointsServiceClient.CreateDataPointOperationsClient

GrpcClient

The underlying gRPC DataPointsService client

Declaration
public override DataPointsService.DataPointsServiceClient GrpcClient { get; }
Property Value
Type Description
DataPointsService.DataPointsServiceClient
Overrides
DataPointsServiceClient.GrpcClient

UpdateDataPointOperationsClient

The long-running operations client for UpdateDataPoint.

Declaration
public override OperationsClient UpdateDataPointOperationsClient { get; }
Property Value
Type Description
OperationsClient
Overrides
DataPointsServiceClient.UpdateDataPointOperationsClient

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
DataPointsServiceClient.BatchDeleteDataPoints(BatchDeleteDataPointsRequest, CallSettings)

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
DataPointsServiceClient.BatchDeleteDataPointsAsync(BatchDeleteDataPointsRequest, CallSettings)

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
DataPointsServiceClient.CreateDataPoint(CreateDataPointRequest, CallSettings)

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
DataPointsServiceClient.CreateDataPointAsync(CreateDataPointRequest, CallSettings)

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
DataPointsServiceClient.DailyRollUpDataPoints(DailyRollUpDataPointsRequest, CallSettings)

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
DataPointsServiceClient.DailyRollUpDataPointsAsync(DailyRollUpDataPointsRequest, CallSettings)

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
DataPointsServiceClient.ExportExerciseTcx(ExportExerciseTcxRequest, CallSettings)

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
DataPointsServiceClient.ExportExerciseTcxAsync(ExportExerciseTcxRequest, CallSettings)

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
DataPointsServiceClient.GetDataPoint(GetDataPointRequest, CallSettings)

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
DataPointsServiceClient.GetDataPointAsync(GetDataPointRequest, CallSettings)

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
DataPointsServiceClient.ListDataPoints(ListDataPointsRequest, CallSettings)

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
DataPointsServiceClient.ListDataPointsAsync(ListDataPointsRequest, CallSettings)

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
DataPointsServiceClient.ReconcileDataPoints(ReconcileDataPointsRequest, CallSettings)

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
DataPointsServiceClient.ReconcileDataPointsAsync(ReconcileDataPointsRequest, CallSettings)

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
DataPointsServiceClient.RollUpDataPoints(RollUpDataPointsRequest, CallSettings)

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
DataPointsServiceClient.RollUpDataPointsAsync(RollUpDataPointsRequest, CallSettings)

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
DataPointsServiceClient.UpdateDataPoint(UpdateDataPointRequest, CallSettings)

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.

Overrides
DataPointsServiceClient.UpdateDataPointAsync(UpdateDataPointRequest, CallSettings)
In this article
Back to top Generated by DocFX