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_API_KEY")
List labels.
curl \
  https://drivelabels.googleapis.com/v2beta/labels
Gets the user capabilities.
curl \
  https://drivelabels.googleapis.com/v2beta/{name}
Get the constraints on the structure of a Label; such as, the maximum number …
curl \
  https://drivelabels.googleapis.com/v2beta/limits/label
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:drivelabels
At a glance
Language Go
Endpoints16
Base URLhttps://drivelabels.googleapis.com
✓ Official