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 information about a Revision.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://run.googleapis.com/v2/{name}
Lists Jobs.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://run.googleapis.com/v2/{parent}/jobs
Lists Tasks from an Execution of a Job.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://run.googleapis.com/v2/{parent}/tasks
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:run
At a glance
Language Go
Endpoints16
Base URLhttps://run.googleapis.com
✓ Official