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")
CreateProfile creates a new profile resource in the online mode. The server e…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudprofiler.googleapis.com/v2/{parent}/profiles
CreateOfflineProfile creates a new profile resource in the offline mode. The …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudprofiler.googleapis.com/v2/{parent}/profiles:createOffline
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:cloudprofiler
At a glance
Language Go
Endpoints3
Base URLhttps://cloudprofiler.googleapis.com
✓ Official