Using go-genai with googleapis.com

Go integration

✓ Official SDK
Install
go get github.com/googleapis/go-genai
Quick start
import "go-genai"

// Initialize client
client := go-genai.NewClient("YOUR_ACCESS_TOKEN")
Gets the latest state of a long-running operation. Clients can use this metho…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://translation.googleapis.com/v3beta1/{name}
Lists information about the supported locations for this service.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://translation.googleapis.com/v3beta1/{name}/locations
Lists operations that match the specified filter in the request. If the serve…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://translation.googleapis.com/v3beta1/{name}/operations
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:translate
At a glance
Language Go
Endpoints14
Base URLhttps://translation.googleapis.com
✓ Official