googleapis.com

TPU API provides customers with access to Google TPU technology.

🔑 oauth2 14 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Gets a runtime version.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://tpu.googleapis.com/v2/{name}
Lists nodes.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://tpu.googleapis.com/v2/{parent}/nodes
Lists information about the supported locations for this service.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://tpu.googleapis.com/v2/{name}/locations
Endpoints (14 total)
GET
/v2/{name}
Gets a runtime version.
GET
/v2/{parent}/nodes
Lists nodes.
GET
/v2/{name}/locations
Lists information about the supported locations for this service.
GET
/v2/{name}/operations
Lists operations that match the specified filter in the request. If the serve…
GET
/v2/{parent}/runtimeVersions
Lists runtime versions supported by this API.
GET
/v2/{parent}/acceleratorTypes
Lists accelerator types supported by this API.
POST
/v2/{name}:stop
Stops a node. This operation is only available with single TPU nodes.
POST
/v2/{name}:start
Starts a node.
POST
/v2/{name}:cancel
Starts asynchronous cancellation on a long-running operation. The server make…
POST
/v2/{parent}/nodes
Creates a node.
POST
/v2/{name}:getGuestAttributes
Retrieves the guest attributes for the node.
POST
/v2/{parent}:generateServiceIdentity
Generates the Cloud TPU service identity for the project.
At a glance
Total SDKs10
Languages6
Endpoints14
Authoauth2
Categories2
https://tpu.googleapis.com