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")
Returns cryptographic keys managed by Cloud KMS in a given Cloud project. Not…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://kmsinventory.googleapis.com/v1/{parent}/cryptoKeys
Returns aggregate information about the resources protected by the given Clou…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://kmsinventory.googleapis.com/v1/{name}/protectedResourcesSummary
Returns metadata about the resources protected by the given Cloud KMS CryptoK…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://kmsinventory.googleapis.com/v1/{scope}/protectedResources:search
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:kmsinventory
At a glance
Language Go
Endpoints3
Base URLhttps://kmsinventory.googleapis.com
✓ Official