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://iam.googleapis.com/v2/{name}
Retrieves the policies of the specified kind that are attached to a resource.…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://iam.googleapis.com/v2/{parent}
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:iam
At a glance
Language Go
Endpoints5
Base URLhttps://iam.googleapis.com
✓ Official