tpu/v2 library

Cloud TPU API - v2

TPU API provides customers with access to Google TPU technology.

For more information, see cloud.google.com/tpu/

Create an instance of TPUApi to access these resources:

Classes

AcceleratorConfig
A TPU accelerator configuration.
AcceleratorType
A accelerator type that a Node can be configured with.
AccessConfig
An access config attached to the TPU worker.
AttachedDisk
A node-attached disk resource.
GenerateServiceIdentityResponse
Response for GenerateServiceIdentity.
GetGuestAttributesRequest
Request for GetGuestAttributes.
GetGuestAttributesResponse
Response for GetGuestAttributes.
GuestAttributes
A guest attributes.
GuestAttributesValue
Array of guest attribute namespace/key/value tuples.
ListAcceleratorTypesResponse
Response for ListAcceleratorTypes.
ListLocationsResponse
The response message for Locations.ListLocations.
ListNodesResponse
Response for ListNodes.
ListOperationsResponse
The response message for Operations.ListOperations.
ListRuntimeVersionsResponse
Response for ListRuntimeVersions.
NetworkConfig
Network related configurations.
NetworkEndpoint
A network endpoint over which a TPU worker can be reached.
Node
A TPU instance.
Operation
This resource represents a long-running operation that is the result of a network API call.
ProjectsLocationsAcceleratorTypesResource
ProjectsLocationsNodesResource
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsLocationsRuntimeVersionsResource
ProjectsResource
RuntimeVersion
A runtime version that a Node can be configured with.
ServiceAccount
A service account.
ServiceIdentity
The per-product per-project service identity for Cloud TPU service.
ShieldedInstanceConfig
A set of Shielded Instance options.
TPUApi
TPU API provides customers with access to Google TPU technology.

Typedefs

Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
GenerateServiceIdentityRequest = $Empty
Request for GenerateServiceIdentity.
GuestAttributesEntry = $GuestAttributesEntry
A guest attributes namespace/key/value entry.
Location = $Location00
A resource that represents a Google Cloud location.
SchedulingConfig = $SchedulingConfig
Sets the scheduling options for this node.
StartNodeRequest = $Empty
Request for StartNode.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
StopNodeRequest = $Empty
Request for StopNode.
Symptom = $Symptom
A Symptom instance.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.