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 the requested recommendation. Requires the recommender.*.get IAM permiss…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://recommender.googleapis.com/v1beta1/{name}
Lists insights for the specified Cloud Resource. Requires the recommender.*.l…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://recommender.googleapis.com/v1beta1/{parent}/insights
Lists recommendations for the specified Cloud Resource. Requires the recommen…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://recommender.googleapis.com/v1beta1/{parent}/recommendations
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:recommender
At a glance
Language Go
Endpoints9
Base URLhttps://recommender.googleapis.com
✓ Official