public class TpuClient : ClientBase<Tpu.TpuClient>Client for Tpu
Namespace
Google.Cloud.Tpu.V1Assembly
Google.Cloud.Tpu.V1.dll
Constructors
TpuClient()
protected TpuClient()Protected parameterless constructor to allow creation of test doubles.
TpuClient(CallInvoker)
public TpuClient(CallInvoker callInvoker)Creates a new client for Tpu that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
TpuClient(ChannelBase)
public TpuClient(ChannelBase channel)Creates a new client for Tpu
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
TpuClient(ClientBase.ClientBaseConfiguration)
protected TpuClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
CreateNode(CreateNodeRequest, CallOptions)
public virtual Operation CreateNode(CreateNodeRequest request, CallOptions options)Creates a node.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateNode(CreateNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateNode(CreateNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Creates a node.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateNodeAsync(CreateNodeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateNodeAsync(CreateNodeRequest request, CallOptions options)Creates a node.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateNodeAsync(CreateNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateNodeAsync(CreateNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Creates a node.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
Operations.OperationsClient |
A new Operations client for the same target as this client. |
DeleteNode(DeleteNodeRequest, CallOptions)
public virtual Operation DeleteNode(DeleteNodeRequest request, CallOptions options)Deletes a node.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteNode(DeleteNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteNode(DeleteNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a node.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteNodeAsync(DeleteNodeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteNodeAsync(DeleteNodeRequest request, CallOptions options)Deletes a node.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteNodeAsync(DeleteNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteNodeAsync(DeleteNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a node.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
GetAcceleratorType(GetAcceleratorTypeRequest, CallOptions)
public virtual AcceleratorType GetAcceleratorType(GetAcceleratorTypeRequest request, CallOptions options)Gets AcceleratorType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorType |
The response received from the server. |
GetAcceleratorType(GetAcceleratorTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AcceleratorType GetAcceleratorType(GetAcceleratorTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets AcceleratorType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AcceleratorType |
The response received from the server. |
GetAcceleratorTypeAsync(GetAcceleratorTypeRequest, CallOptions)
public virtual AsyncUnaryCall<AcceleratorType> GetAcceleratorTypeAsync(GetAcceleratorTypeRequest request, CallOptions options)Gets AcceleratorType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<AcceleratorType> |
The call object. |
GetAcceleratorTypeAsync(GetAcceleratorTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<AcceleratorType> GetAcceleratorTypeAsync(GetAcceleratorTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets AcceleratorType.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAcceleratorTypeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<AcceleratorType> |
The call object. |
GetNode(GetNodeRequest, CallOptions)
public virtual Node GetNode(GetNodeRequest request, CallOptions options)Gets the details of a node.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Node |
The response received from the server. |
GetNode(GetNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Node GetNode(GetNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets the details of a node.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Node |
The response received from the server. |
GetNodeAsync(GetNodeRequest, CallOptions)
public virtual AsyncUnaryCall<Node> GetNodeAsync(GetNodeRequest request, CallOptions options)Gets the details of a node.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Node> |
The call object. |
GetNodeAsync(GetNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Node> GetNodeAsync(GetNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets the details of a node.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Node> |
The call object. |
GetTensorFlowVersion(GetTensorFlowVersionRequest, CallOptions)
public virtual TensorFlowVersion GetTensorFlowVersion(GetTensorFlowVersionRequest request, CallOptions options)Gets TensorFlow Version.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTensorFlowVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
TensorFlowVersion |
The response received from the server. |
GetTensorFlowVersion(GetTensorFlowVersionRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TensorFlowVersion GetTensorFlowVersion(GetTensorFlowVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets TensorFlow Version.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTensorFlowVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
TensorFlowVersion |
The response received from the server. |
GetTensorFlowVersionAsync(GetTensorFlowVersionRequest, CallOptions)
public virtual AsyncUnaryCall<TensorFlowVersion> GetTensorFlowVersionAsync(GetTensorFlowVersionRequest request, CallOptions options)Gets TensorFlow Version.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTensorFlowVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<TensorFlowVersion> |
The call object. |
GetTensorFlowVersionAsync(GetTensorFlowVersionRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TensorFlowVersion> GetTensorFlowVersionAsync(GetTensorFlowVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets TensorFlow Version.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTensorFlowVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<TensorFlowVersion> |
The call object. |
ListAcceleratorTypes(ListAcceleratorTypesRequest, CallOptions)
public virtual ListAcceleratorTypesResponse ListAcceleratorTypes(ListAcceleratorTypesRequest request, CallOptions options)Lists accelerator types supported by this API.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListAcceleratorTypesResponse |
The response received from the server. |
ListAcceleratorTypes(ListAcceleratorTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListAcceleratorTypesResponse ListAcceleratorTypes(ListAcceleratorTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists accelerator types supported by this API.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListAcceleratorTypesResponse |
The response received from the server. |
ListAcceleratorTypesAsync(ListAcceleratorTypesRequest, CallOptions)
public virtual AsyncUnaryCall<ListAcceleratorTypesResponse> ListAcceleratorTypesAsync(ListAcceleratorTypesRequest request, CallOptions options)Lists accelerator types supported by this API.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListAcceleratorTypesResponse> |
The call object. |
ListAcceleratorTypesAsync(ListAcceleratorTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListAcceleratorTypesResponse> ListAcceleratorTypesAsync(ListAcceleratorTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists accelerator types supported by this API.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAcceleratorTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListAcceleratorTypesResponse> |
The call object. |
ListNodes(ListNodesRequest, CallOptions)
public virtual ListNodesResponse ListNodes(ListNodesRequest request, CallOptions options)Lists nodes.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNodesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListNodesResponse |
The response received from the server. |
ListNodes(ListNodesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListNodesResponse ListNodes(ListNodesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists nodes.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNodesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListNodesResponse |
The response received from the server. |
ListNodesAsync(ListNodesRequest, CallOptions)
public virtual AsyncUnaryCall<ListNodesResponse> ListNodesAsync(ListNodesRequest request, CallOptions options)Lists nodes.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNodesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListNodesResponse> |
The call object. |
ListNodesAsync(ListNodesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListNodesResponse> ListNodesAsync(ListNodesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists nodes.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNodesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListNodesResponse> |
The call object. |
ListTensorFlowVersions(ListTensorFlowVersionsRequest, CallOptions)
public virtual ListTensorFlowVersionsResponse ListTensorFlowVersions(ListTensorFlowVersionsRequest request, CallOptions options)List TensorFlow versions supported by this API.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTensorFlowVersionsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListTensorFlowVersionsResponse |
The response received from the server. |
ListTensorFlowVersions(ListTensorFlowVersionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListTensorFlowVersionsResponse ListTensorFlowVersions(ListTensorFlowVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))List TensorFlow versions supported by this API.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTensorFlowVersionsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListTensorFlowVersionsResponse |
The response received from the server. |
ListTensorFlowVersionsAsync(ListTensorFlowVersionsRequest, CallOptions)
public virtual AsyncUnaryCall<ListTensorFlowVersionsResponse> ListTensorFlowVersionsAsync(ListTensorFlowVersionsRequest request, CallOptions options)List TensorFlow versions supported by this API.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTensorFlowVersionsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListTensorFlowVersionsResponse> |
The call object. |
ListTensorFlowVersionsAsync(ListTensorFlowVersionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListTensorFlowVersionsResponse> ListTensorFlowVersionsAsync(ListTensorFlowVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))List TensorFlow versions supported by this API.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTensorFlowVersionsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListTensorFlowVersionsResponse> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Tpu.TpuClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
Tpu.TpuClient |
|
ReimageNode(ReimageNodeRequest, CallOptions)
public virtual Operation ReimageNode(ReimageNodeRequest request, CallOptions options)Reimages a node's OS.
| Parameters | |
|---|---|
| Name | Description |
request |
ReimageNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ReimageNode(ReimageNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation ReimageNode(ReimageNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Reimages a node's OS.
| Parameters | |
|---|---|
| Name | Description |
request |
ReimageNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ReimageNodeAsync(ReimageNodeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ReimageNodeAsync(ReimageNodeRequest request, CallOptions options)Reimages a node's OS.
| Parameters | |
|---|---|
| Name | Description |
request |
ReimageNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
ReimageNodeAsync(ReimageNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> ReimageNodeAsync(ReimageNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Reimages a node's OS.
| Parameters | |
|---|---|
| Name | Description |
request |
ReimageNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
StartNode(StartNodeRequest, CallOptions)
public virtual Operation StartNode(StartNodeRequest request, CallOptions options)Starts a node.
| Parameters | |
|---|---|
| Name | Description |
request |
StartNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
StartNode(StartNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation StartNode(StartNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Starts a node.
| Parameters | |
|---|---|
| Name | Description |
request |
StartNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
StartNodeAsync(StartNodeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> StartNodeAsync(StartNodeRequest request, CallOptions options)Starts a node.
| Parameters | |
|---|---|
| Name | Description |
request |
StartNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
StartNodeAsync(StartNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> StartNodeAsync(StartNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Starts a node.
| Parameters | |
|---|---|
| Name | Description |
request |
StartNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
StopNode(StopNodeRequest, CallOptions)
public virtual Operation StopNode(StopNodeRequest request, CallOptions options)Stops a node.
| Parameters | |
|---|---|
| Name | Description |
request |
StopNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
StopNode(StopNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation StopNode(StopNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Stops a node.
| Parameters | |
|---|---|
| Name | Description |
request |
StopNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
StopNodeAsync(StopNodeRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> StopNodeAsync(StopNodeRequest request, CallOptions options)Stops a node.
| Parameters | |
|---|---|
| Name | Description |
request |
StopNodeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
StopNodeAsync(StopNodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> StopNodeAsync(StopNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Stops a node.
| Parameters | |
|---|---|
| Name | Description |
request |
StopNodeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |