Cloud TPU v1 API - Class Tpu.TpuClient (2.2.0)

public class Tpu.TpuClient : ClientBase<Tpu.TpuClient>

Reference documentation and code samples for the Cloud TPU v1 API class Tpu.TpuClient.

Client for Tpu

Inheritance

object > ClientBase > ClientBaseTpuTpuClient > Tpu.TpuClient

Namespace

Google.Cloud.Tpu.V1

Assembly

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 CallInvoker

The callInvoker to use to make remote calls.

TpuClient(ChannelBase)

public TpuClient(ChannelBase channel)

Creates a new client for Tpu

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

TpuClient(ClientBaseConfiguration)

protected TpuClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateNode(CreateNodeRequest, CallOptions)

public virtual Operation CreateNode(CreateNodeRequest request, CallOptions options)

Creates a node.

Parameters
Name Description
request CreateNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateNode(CreateNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateNode(CreateNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a node.

Parameters
Name Description
request CreateNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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.

CreateNodeAsync(CreateNodeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateNodeAsync(CreateNodeRequest request, CallOptions options)

Creates a node.

Parameters
Name Description
request CreateNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateNodeAsync(CreateNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateNodeAsync(CreateNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a node.

Parameters
Name Description
request CreateNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallOperation

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
OperationsOperationsClient

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 DeleteNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteNode(DeleteNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteNode(DeleteNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a node.

Parameters
Name Description
request DeleteNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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.

DeleteNodeAsync(DeleteNodeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteNodeAsync(DeleteNodeRequest request, CallOptions options)

Deletes a node.

Parameters
Name Description
request DeleteNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteNodeAsync(DeleteNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteNodeAsync(DeleteNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a node.

Parameters
Name Description
request DeleteNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallOperation

The call object.

GetAcceleratorType(GetAcceleratorTypeRequest, CallOptions)

public virtual AcceleratorType GetAcceleratorType(GetAcceleratorTypeRequest request, CallOptions options)

Gets AcceleratorType.

Parameters
Name Description
request GetAcceleratorTypeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AcceleratorType

The response received from the server.

GetAcceleratorType(GetAcceleratorTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual AcceleratorType GetAcceleratorType(GetAcceleratorTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets AcceleratorType.

Parameters
Name Description
request GetAcceleratorTypeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
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 GetAcceleratorTypeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallAcceleratorType

The call object.

GetAcceleratorTypeAsync(GetAcceleratorTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AcceleratorType> GetAcceleratorTypeAsync(GetAcceleratorTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets AcceleratorType.

Parameters
Name Description
request GetAcceleratorTypeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallAcceleratorType

The call object.

GetNode(GetNodeRequest, CallOptions)

public virtual Node GetNode(GetNodeRequest request, CallOptions options)

Gets the details of a node.

Parameters
Name Description
request GetNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Node

The response received from the server.

GetNode(GetNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual Node GetNode(GetNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a node.

Parameters
Name Description
request GetNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
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 GetNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNode

The call object.

GetNodeAsync(GetNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Node> GetNodeAsync(GetNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a node.

Parameters
Name Description
request GetNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallNode

The call object.

GetTensorFlowVersion(GetTensorFlowVersionRequest, CallOptions)

public virtual TensorFlowVersion GetTensorFlowVersion(GetTensorFlowVersionRequest request, CallOptions options)

Gets TensorFlow Version.

Parameters
Name Description
request GetTensorFlowVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TensorFlowVersion

The response received from the server.

GetTensorFlowVersion(GetTensorFlowVersionRequest, Metadata, DateTime?, CancellationToken)

public virtual TensorFlowVersion GetTensorFlowVersion(GetTensorFlowVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets TensorFlow Version.

Parameters
Name Description
request GetTensorFlowVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
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 GetTensorFlowVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTensorFlowVersion

The call object.

GetTensorFlowVersionAsync(GetTensorFlowVersionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TensorFlowVersion> GetTensorFlowVersionAsync(GetTensorFlowVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets TensorFlow Version.

Parameters
Name Description
request GetTensorFlowVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallTensorFlowVersion

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 ListAcceleratorTypesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListAcceleratorTypesResponse

The response received from the server.

ListAcceleratorTypes(ListAcceleratorTypesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAcceleratorTypesResponse ListAcceleratorTypes(ListAcceleratorTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists accelerator types supported by this API.

Parameters
Name Description
request ListAcceleratorTypesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
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 ListAcceleratorTypesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListAcceleratorTypesResponse

The call object.

ListAcceleratorTypesAsync(ListAcceleratorTypesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAcceleratorTypesResponse> ListAcceleratorTypesAsync(ListAcceleratorTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists accelerator types supported by this API.

Parameters
Name Description
request ListAcceleratorTypesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallListAcceleratorTypesResponse

The call object.

ListNodes(ListNodesRequest, CallOptions)

public virtual ListNodesResponse ListNodes(ListNodesRequest request, CallOptions options)

Lists nodes.

Parameters
Name Description
request ListNodesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListNodesResponse

The response received from the server.

ListNodes(ListNodesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListNodesResponse ListNodes(ListNodesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists nodes.

Parameters
Name Description
request ListNodesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
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 ListNodesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListNodesResponse

The call object.

ListNodesAsync(ListNodesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListNodesResponse> ListNodesAsync(ListNodesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists nodes.

Parameters
Name Description
request ListNodesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallListNodesResponse

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 ListTensorFlowVersionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListTensorFlowVersionsResponse

The response received from the server.

ListTensorFlowVersions(ListTensorFlowVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListTensorFlowVersionsResponse ListTensorFlowVersions(ListTensorFlowVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List TensorFlow versions supported by this API.

Parameters
Name Description
request ListTensorFlowVersionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
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 ListTensorFlowVersionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListTensorFlowVersionsResponse

The call object.

ListTensorFlowVersionsAsync(ListTensorFlowVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListTensorFlowVersionsResponse> ListTensorFlowVersionsAsync(ListTensorFlowVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List TensorFlow versions supported by this API.

Parameters
Name Description
request ListTensorFlowVersionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallListTensorFlowVersionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Tpu.TpuClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
TpuTpuClient
Overrides

ReimageNode(ReimageNodeRequest, CallOptions)

public virtual Operation ReimageNode(ReimageNodeRequest request, CallOptions options)

Reimages a node's OS.

Parameters
Name Description
request ReimageNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ReimageNode(ReimageNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ReimageNode(ReimageNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Reimages a node's OS.

Parameters
Name Description
request ReimageNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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.

ReimageNodeAsync(ReimageNodeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ReimageNodeAsync(ReimageNodeRequest request, CallOptions options)

Reimages a node's OS.

Parameters
Name Description
request ReimageNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ReimageNodeAsync(ReimageNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ReimageNodeAsync(ReimageNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Reimages a node's OS.

Parameters
Name Description
request ReimageNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallOperation

The call object.

StartNode(StartNodeRequest, CallOptions)

public virtual Operation StartNode(StartNodeRequest request, CallOptions options)

Starts a node.

Parameters
Name Description
request StartNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

StartNode(StartNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation StartNode(StartNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Starts a node.

Parameters
Name Description
request StartNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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.

StartNodeAsync(StartNodeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> StartNodeAsync(StartNodeRequest request, CallOptions options)

Starts a node.

Parameters
Name Description
request StartNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

StartNodeAsync(StartNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> StartNodeAsync(StartNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Starts a node.

Parameters
Name Description
request StartNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallOperation

The call object.

StopNode(StopNodeRequest, CallOptions)

public virtual Operation StopNode(StopNodeRequest request, CallOptions options)

Stops a node, this operation is only available with single TPU nodes.

Parameters
Name Description
request StopNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

StopNode(StopNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation StopNode(StopNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Stops a node, this operation is only available with single TPU nodes.

Parameters
Name Description
request StopNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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.

StopNodeAsync(StopNodeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> StopNodeAsync(StopNodeRequest request, CallOptions options)

Stops a node, this operation is only available with single TPU nodes.

Parameters
Name Description
request StopNodeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

StopNodeAsync(StopNodeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> StopNodeAsync(StopNodeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Stops a node, this operation is only available with single TPU nodes.

Parameters
Name Description
request StopNodeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

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
AsyncUnaryCallOperation

The call object.