Class DataPointsService.DataPointsServiceClient
Client for DataPointsService
Inheritance
Inherited Members
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public class DataPointsService.DataPointsServiceClient : ClientBase<DataPointsService.DataPointsServiceClient>
Constructors
DataPointsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected DataPointsServiceClient()
DataPointsServiceClient(CallInvoker)
Creates a new client for DataPointsService that uses a custom CallInvoker.
Declaration
public DataPointsServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
DataPointsServiceClient(ChannelBase)
Creates a new client for DataPointsService
Declaration
public DataPointsServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
DataPointsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected DataPointsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
BatchDeleteDataPoints(BatchDeleteDataPointsRequest, CallOptions)
Delete a batch of identifyable data points.
Declaration
public virtual Operation BatchDeleteDataPoints(BatchDeleteDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
BatchDeleteDataPoints(BatchDeleteDataPointsRequest, Metadata, DateTime?, CancellationToken)
Delete a batch of identifyable data points.
Declaration
public virtual Operation BatchDeleteDataPoints(BatchDeleteDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
BatchDeleteDataPointsAsync(BatchDeleteDataPointsRequest, CallOptions)
Delete a batch of identifyable data points.
Declaration
public virtual AsyncUnaryCall<Operation> BatchDeleteDataPointsAsync(BatchDeleteDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
BatchDeleteDataPointsAsync(BatchDeleteDataPointsRequest, Metadata, DateTime?, CancellationToken)
Delete a batch of identifyable data points.
Declaration
public virtual AsyncUnaryCall<Operation> BatchDeleteDataPointsAsync(BatchDeleteDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
CreateDataPoint(CreateDataPointRequest, CallOptions)
Creates a single identifiable data point.
Declaration
public virtual Operation CreateDataPoint(CreateDataPointRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDataPointRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
CreateDataPoint(CreateDataPointRequest, Metadata, DateTime?, CancellationToken)
Creates a single identifiable data point.
Declaration
public virtual Operation CreateDataPoint(CreateDataPointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDataPointRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
CreateDataPointAsync(CreateDataPointRequest, CallOptions)
Creates a single identifiable data point.
Declaration
public virtual AsyncUnaryCall<Operation> CreateDataPointAsync(CreateDataPointRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDataPointRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
CreateDataPointAsync(CreateDataPointRequest, Metadata, DateTime?, CancellationToken)
Creates a single identifiable data point.
Declaration
public virtual AsyncUnaryCall<Operation> CreateDataPointAsync(CreateDataPointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDataPointRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
CreateOperationsClient()
Creates a new instance of Google.LongRunning.Operations.OperationsClient using the same call invoker as this client.
Declaration
public virtual Operations.OperationsClient CreateOperationsClient()
Returns
| Type | Description |
|---|---|
| Operations.OperationsClient | A new Operations client for the same target as this client. |
DailyRollUpDataPoints(DailyRollUpDataPointsRequest, CallOptions)
Roll up data points over civil time intervals for supported data types.
Declaration
public virtual DailyRollUpDataPointsResponse DailyRollUpDataPoints(DailyRollUpDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DailyRollUpDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| DailyRollUpDataPointsResponse | The response received from the server. |
DailyRollUpDataPoints(DailyRollUpDataPointsRequest, Metadata, DateTime?, CancellationToken)
Roll up data points over civil time intervals for supported data types.
Declaration
public virtual DailyRollUpDataPointsResponse DailyRollUpDataPoints(DailyRollUpDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| DailyRollUpDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| DailyRollUpDataPointsResponse | The response received from the server. |
DailyRollUpDataPointsAsync(DailyRollUpDataPointsRequest, CallOptions)
Roll up data points over civil time intervals for supported data types.
Declaration
public virtual AsyncUnaryCall<DailyRollUpDataPointsResponse> DailyRollUpDataPointsAsync(DailyRollUpDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DailyRollUpDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<DailyRollUpDataPointsResponse> | The call object. |
DailyRollUpDataPointsAsync(DailyRollUpDataPointsRequest, Metadata, DateTime?, CancellationToken)
Roll up data points over civil time intervals for supported data types.
Declaration
public virtual AsyncUnaryCall<DailyRollUpDataPointsResponse> DailyRollUpDataPointsAsync(DailyRollUpDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| DailyRollUpDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<DailyRollUpDataPointsResponse> | The call object. |
ExportExerciseTcx(ExportExerciseTcxRequest, CallOptions)
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 ExportExerciseTcxResponse ExportExerciseTcx(ExportExerciseTcxRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportExerciseTcxRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ExportExerciseTcxResponse | The response received from the server. |
ExportExerciseTcx(ExportExerciseTcxRequest, Metadata, DateTime?, CancellationToken)
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 ExportExerciseTcxResponse ExportExerciseTcx(ExportExerciseTcxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportExerciseTcxRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ExportExerciseTcxResponse | The response received from the server. |
ExportExerciseTcxAsync(ExportExerciseTcxRequest, CallOptions)
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 AsyncUnaryCall<ExportExerciseTcxResponse> ExportExerciseTcxAsync(ExportExerciseTcxRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportExerciseTcxRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ExportExerciseTcxResponse> | The call object. |
ExportExerciseTcxAsync(ExportExerciseTcxRequest, Metadata, DateTime?, CancellationToken)
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 AsyncUnaryCall<ExportExerciseTcxResponse> ExportExerciseTcxAsync(ExportExerciseTcxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportExerciseTcxRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ExportExerciseTcxResponse> | The call object. |
GetDataPoint(GetDataPointRequest, CallOptions)
Get a single identifyable data point.
Declaration
public virtual DataPoint GetDataPoint(GetDataPointRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataPointRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| DataPoint | The response received from the server. |
GetDataPoint(GetDataPointRequest, Metadata, DateTime?, CancellationToken)
Get a single identifyable data point.
Declaration
public virtual DataPoint GetDataPoint(GetDataPointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataPointRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| DataPoint | The response received from the server. |
GetDataPointAsync(GetDataPointRequest, CallOptions)
Get a single identifyable data point.
Declaration
public virtual AsyncUnaryCall<DataPoint> GetDataPointAsync(GetDataPointRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataPointRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<DataPoint> | The call object. |
GetDataPointAsync(GetDataPointRequest, Metadata, DateTime?, CancellationToken)
Get a single identifyable data point.
Declaration
public virtual AsyncUnaryCall<DataPoint> GetDataPointAsync(GetDataPointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataPointRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<DataPoint> | The call object. |
ListDataPoints(ListDataPointsRequest, CallOptions)
Query user health and fitness data points.
Declaration
public virtual ListDataPointsResponse ListDataPoints(ListDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListDataPointsResponse | The response received from the server. |
ListDataPoints(ListDataPointsRequest, Metadata, DateTime?, CancellationToken)
Query user health and fitness data points.
Declaration
public virtual ListDataPointsResponse ListDataPoints(ListDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListDataPointsResponse | The response received from the server. |
ListDataPointsAsync(ListDataPointsRequest, CallOptions)
Query user health and fitness data points.
Declaration
public virtual AsyncUnaryCall<ListDataPointsResponse> ListDataPointsAsync(ListDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListDataPointsResponse> | The call object. |
ListDataPointsAsync(ListDataPointsRequest, Metadata, DateTime?, CancellationToken)
Query user health and fitness data points.
Declaration
public virtual AsyncUnaryCall<ListDataPointsResponse> ListDataPointsAsync(ListDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListDataPointsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override DataPointsService.DataPointsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| DataPointsService.DataPointsServiceClient |
Overrides
ReconcileDataPoints(ReconcileDataPointsRequest, CallOptions)
Reconcile data points from multiple data sources into a single data stream.
Declaration
public virtual ReconcileDataPointsResponse ReconcileDataPoints(ReconcileDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ReconcileDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ReconcileDataPointsResponse | The response received from the server. |
ReconcileDataPoints(ReconcileDataPointsRequest, Metadata, DateTime?, CancellationToken)
Reconcile data points from multiple data sources into a single data stream.
Declaration
public virtual ReconcileDataPointsResponse ReconcileDataPoints(ReconcileDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ReconcileDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ReconcileDataPointsResponse | The response received from the server. |
ReconcileDataPointsAsync(ReconcileDataPointsRequest, CallOptions)
Reconcile data points from multiple data sources into a single data stream.
Declaration
public virtual AsyncUnaryCall<ReconcileDataPointsResponse> ReconcileDataPointsAsync(ReconcileDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ReconcileDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ReconcileDataPointsResponse> | The call object. |
ReconcileDataPointsAsync(ReconcileDataPointsRequest, Metadata, DateTime?, CancellationToken)
Reconcile data points from multiple data sources into a single data stream.
Declaration
public virtual AsyncUnaryCall<ReconcileDataPointsResponse> ReconcileDataPointsAsync(ReconcileDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ReconcileDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ReconcileDataPointsResponse> | The call object. |
RollUpDataPoints(RollUpDataPointsRequest, CallOptions)
Roll up data points over physical time intervals for supported data types.
Declaration
public virtual RollUpDataPointsResponse RollUpDataPoints(RollUpDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| RollUpDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| RollUpDataPointsResponse | The response received from the server. |
RollUpDataPoints(RollUpDataPointsRequest, Metadata, DateTime?, CancellationToken)
Roll up data points over physical time intervals for supported data types.
Declaration
public virtual RollUpDataPointsResponse RollUpDataPoints(RollUpDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| RollUpDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| RollUpDataPointsResponse | The response received from the server. |
RollUpDataPointsAsync(RollUpDataPointsRequest, CallOptions)
Roll up data points over physical time intervals for supported data types.
Declaration
public virtual AsyncUnaryCall<RollUpDataPointsResponse> RollUpDataPointsAsync(RollUpDataPointsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| RollUpDataPointsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<RollUpDataPointsResponse> | The call object. |
RollUpDataPointsAsync(RollUpDataPointsRequest, Metadata, DateTime?, CancellationToken)
Roll up data points over physical time intervals for supported data types.
Declaration
public virtual AsyncUnaryCall<RollUpDataPointsResponse> RollUpDataPointsAsync(RollUpDataPointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| RollUpDataPointsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<RollUpDataPointsResponse> | The call object. |
UpdateDataPoint(UpdateDataPointRequest, CallOptions)
Updates a single identifiable data point. If a data point with the
specified name is not found, the request will fail.
Declaration
public virtual Operation UpdateDataPoint(UpdateDataPointRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateDataPointRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
UpdateDataPoint(UpdateDataPointRequest, Metadata, DateTime?, CancellationToken)
Updates a single identifiable data point. If a data point with the
specified name is not found, the request will fail.
Declaration
public virtual Operation UpdateDataPoint(UpdateDataPointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateDataPointRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
UpdateDataPointAsync(UpdateDataPointRequest, CallOptions)
Updates a single identifiable data point. If a data point with the
specified name is not found, the request will fail.
Declaration
public virtual AsyncUnaryCall<Operation> UpdateDataPointAsync(UpdateDataPointRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateDataPointRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
UpdateDataPointAsync(UpdateDataPointRequest, Metadata, DateTime?, CancellationToken)
Updates a single identifiable data point. If a data point with the
specified name is not found, the request will fail.
Declaration
public virtual AsyncUnaryCall<Operation> UpdateDataPointAsync(UpdateDataPointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateDataPointRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |