TPU
import { TPU } from "https://googleapis.deno.dev/v1/tpu:v2.ts";
TPU API provides customers with access to Google TPU technology.
§Methods
Gets AcceleratorType.
Required. The resource name.
Lists accelerator types supported by this API.
Required. The parent resource name.
Generates the Cloud TPU service identity for the project.
Required. The parent resource name.
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
Creates a node.
Required. The parent resource name.
Retrieves the guest attributes for the node.
Required. The resource name.
Lists nodes.
Required. The parent resource name.
Updates the configurations of a node.
Output only. Immutable. The name of the TPU.
Stops a node. This operation is only available with single TPU nodes.
Required. The resource name.
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1, corresponding to
Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Creates a QueuedResource TPU instance.
Required. The parent resource name.
Deletes a QueuedResource TPU instance.
Required. The resource name.
Gets details of a queued resource.
Required. The resource name.
Lists queued resources.
Required. The parent resource name.
Resets a QueuedResource TPU instance
Required. The name of the queued resource.
Gets a runtime version.
Required. The resource name.
Lists runtime versions supported by this API.
Required. The parent resource name.