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 a user's Account & Container access.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://tagmanager.googleapis.com/tagmanager/v2/{path}
Lists all GTM Accounts that a user has access to.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://tagmanager.googleapis.com/tagmanager/v2/accounts
Lists all GTM Tags of a Container.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://tagmanager.googleapis.com/tagmanager/v2/{parent}/tags
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:tagmanager
At a glance
Language Go
Endpoints52
Base URLhttps://tagmanager.googleapis.com
✓ Official