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")
Get the specified group.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://clouderrorreporting.googleapis.com/v1beta1/{groupName}
Lists the specified events.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events
Lists the specified groups.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/groupStats
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:clouderrorreporting
At a glance
Language Go
Endpoints6
Base URLhttps://clouderrorreporting.googleapis.com
✓ Official