tpu/v2 library

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.
FailedData
Further data for the failed state.
GenerateServiceIdentityResponse
Response for GenerateServiceIdentity.
GetGuestAttributesRequest
Request for GetGuestAttributes.
GetGuestAttributesResponse
Response for GetGuestAttributes.
Guaranteed
Guaranteed tier definition.
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.
ListQueuedResourcesResponse
Response for ListQueuedResources.
ListRuntimeVersionsResponse
Response for ListRuntimeVersions.
MultisliceParams
Parameters to specify for multislice QueuedResource requests.
NetworkConfig
Network related configurations.
NetworkEndpoint
A network endpoint over which a TPU worker can be reached.
Node
A TPU instance.
NodeSpec
Details of the TPU node(s) being requested.
Operation
This resource represents a long-running operation that is the result of a network API call.
ProjectsLocationsAcceleratorTypesResource
ProjectsLocationsNodesResource
ProjectsLocationsOperationsResource
ProjectsLocationsQueuedResourcesResource
ProjectsLocationsResource
ProjectsLocationsRuntimeVersionsResource
ProjectsResource
QueuedResource
A QueuedResource represents a request for resources that will be placed in a queue and fulfilled when the necessary resources are available.
QueuedResourceState
QueuedResourceState defines the details of the QueuedResource request.
QueueingPolicy
Defines the policy of the QueuedRequest.
RuntimeVersion
A runtime version that a Node can be configured with.
SchedulingConfig
Sets the scheduling options for this node.
ServiceAccount
A service account.
ServiceIdentity
The per-product per-project service identity for Cloud TPU service.
ShieldedInstanceConfig
A set of Shielded Instance options.
Tpu
Details of the TPU resource(s) being requested.
TPUApi
TPU API provides customers with access to Google TPU technology.

Typedefs

AcceptedData = $Empty
Further data for the accepted state.
ActiveData = $Empty
Further data for the active state.
CreatingData = $Empty
Further data for the creating state.
DeletingData = $Empty
Further data for the deleting state.
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.
Interval = $Interval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
Location = $Location00
A resource that represents a Google Cloud location.
ProvisioningData = $Empty
Further data for the provisioning state.
ResetQueuedResourceRequest = $Empty
Request for ResetQueuedResource.
Spot = $Empty
Spot tier definition.
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.
SuspendedData = $Empty
Further data for the suspended state.
SuspendingData = $Empty
Further data for the suspending state.
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.