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")
Retrieves a list of buckets for a given project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://storage.googleapis.com/storage/v1/b
Returns metadata for the specified bucket.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://storage.googleapis.com/storage/v1/b/{bucket}
Retrieves a list of objects matching the criteria.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://storage.googleapis.com/storage/v1/b/{bucket}/o
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:storage
At a glance
Language Go
Endpoints52
Base URLhttps://storage.googleapis.com/storage/v1
✓ Official