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 patch job. This can be used to track the progress of an ongoing patch…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://osconfig.googleapis.com/v1beta/{name}
Get a list of patch jobs.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://osconfig.googleapis.com/v1beta/{parent}/patchJobs
Get a page of OS Config guest policies.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://osconfig.googleapis.com/v1beta/{parent}/guestPolicies
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:osconfig
At a glance
Language Go
Endpoints14
Base URLhttps://osconfig.googleapis.com
✓ Official