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 a specific policy schema for a customer by its resource name.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://chromepolicy.googleapis.com/v1/{name}
Gets a list of policy schemas that match a specified filter value for a given…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://chromepolicy.googleapis.com/v1/{parent}/policySchemas
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:chromepolicy
At a glance
Language Go
Endpoints14
Base URLhttps://chromepolicy.googleapis.com
✓ Official