Show / Hide Table of Contents

Class DataPointsService.DataPointsServiceBase

Base class for server-side implementations of DataPointsService

Inheritance
object
DataPointsService.DataPointsServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
[BindServiceMethod(typeof(DataPointsService), "BindService")]
public abstract class DataPointsService.DataPointsServiceBase

Methods

BatchDeleteDataPoints(BatchDeleteDataPointsRequest, ServerCallContext)

Delete a batch of identifyable data points.

Declaration
public virtual Task<Operation> BatchDeleteDataPoints(BatchDeleteDataPointsRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchDeleteDataPointsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateDataPoint(CreateDataPointRequest, ServerCallContext)

Creates a single identifiable data point.

Declaration
public virtual Task<Operation> CreateDataPoint(CreateDataPointRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateDataPointRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Operation>

The response to send back to the client (wrapped by a task).

DailyRollUpDataPoints(DailyRollUpDataPointsRequest, ServerCallContext)

Roll up data points over civil time intervals for supported data types.

Declaration
public virtual Task<DailyRollUpDataPointsResponse> DailyRollUpDataPoints(DailyRollUpDataPointsRequest request, ServerCallContext context)
Parameters
Type Name Description
DailyRollUpDataPointsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<DailyRollUpDataPointsResponse>

The response to send back to the client (wrapped by a task).

ExportExerciseTcx(ExportExerciseTcxRequest, ServerCallContext)

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 virtual Task<ExportExerciseTcxResponse> ExportExerciseTcx(ExportExerciseTcxRequest request, ServerCallContext context)
Parameters
Type Name Description
ExportExerciseTcxRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ExportExerciseTcxResponse>

The response to send back to the client (wrapped by a task).

GetDataPoint(GetDataPointRequest, ServerCallContext)

Get a single identifyable data point.

Declaration
public virtual Task<DataPoint> GetDataPoint(GetDataPointRequest request, ServerCallContext context)
Parameters
Type Name Description
GetDataPointRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<DataPoint>

The response to send back to the client (wrapped by a task).

ListDataPoints(ListDataPointsRequest, ServerCallContext)

Query user health and fitness data points.

Declaration
public virtual Task<ListDataPointsResponse> ListDataPoints(ListDataPointsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListDataPointsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ListDataPointsResponse>

The response to send back to the client (wrapped by a task).

ReconcileDataPoints(ReconcileDataPointsRequest, ServerCallContext)

Reconcile data points from multiple data sources into a single data stream.

Declaration
public virtual Task<ReconcileDataPointsResponse> ReconcileDataPoints(ReconcileDataPointsRequest request, ServerCallContext context)
Parameters
Type Name Description
ReconcileDataPointsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ReconcileDataPointsResponse>

The response to send back to the client (wrapped by a task).

RollUpDataPoints(RollUpDataPointsRequest, ServerCallContext)

Roll up data points over physical time intervals for supported data types.

Declaration
public virtual Task<RollUpDataPointsResponse> RollUpDataPoints(RollUpDataPointsRequest request, ServerCallContext context)
Parameters
Type Name Description
RollUpDataPointsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<RollUpDataPointsResponse>

The response to send back to the client (wrapped by a task).

UpdateDataPoint(UpdateDataPointRequest, ServerCallContext)

Updates a single identifiable data point. If a data point with the specified name is not found, the request will fail.

Declaration
public virtual Task<Operation> UpdateDataPoint(UpdateDataPointRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateDataPointRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Operation>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX