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")
Lists all projects to which you have been granted any project role.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects
Lists all jobs that you started in the specified project. Job information is …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/jobs
Lists all datasets in the specified project to which you have been granted th…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/datasets
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:bigquery
At a glance
Language Go
Endpoints36
Base URLhttps://bigquery.googleapis.com/bigquery/v2
✓ Official