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 an environment. Returns NOT_FOUND if the environment does not exist.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudshell.googleapis.com/v1/{name}
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:cloudshell
At a glance
Language Go
Endpoints7
Base URLhttps://cloudshell.googleapis.com
✓ Official