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 a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dlp.googleapis.com/v2/{name}
Returns a list of the sensitive information types that DLP API supports. See …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dlp.googleapis.com/v2/infoTypes
Lists DlpJobs that match the specified filter in the request. See https://clo…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dlp.googleapis.com/v2/{parent}/dlpJobs
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:dlp
At a glance
Language Go
Endpoints23
Base URLhttps://dlp.googleapis.com
✓ Official