tpu/v1 library
Cloud TPU API - v1
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
- AcceleratorType
- A accelerator type that a Node can be configured with.
- ListAcceleratorTypesResponse
- Response for ListAcceleratorTypes.
- ListLocationsResponse
- The response message for Locations.ListLocations.
- ListNodesResponse
- Response for ListNodes.
- ListOperationsResponse
- The response message for Operations.ListOperations.
- ListTensorFlowVersionsResponse
- Response for ListTensorFlowVersions.
- 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
- ProjectsLocationsTensorflowVersionsResource
- ProjectsResource
- ReimageNodeRequest
- Request for ReimageNode.
- SchedulingConfig
- Sets the scheduling options for this node.
- TensorFlowVersion
- A tensorflow version that a Node can be configured with.
- 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.
- Location = $Location00
- A resource that represents a Google Cloud location.
- 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.