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 policy tag.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datacatalog.googleapis.com/v1beta1/{name}
Lists tags assigned to an Entry. The columns in the response are lowercased.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datacatalog.googleapis.com/v1beta1/{parent}/tags
Get an entry by target resource name. This method allows clients to use the r…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datacatalog.googleapis.com/v1beta1/entries:lookup
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:datacatalog
At a glance
Language Go
Endpoints23
Base URLhttps://datacatalog.googleapis.com
✓ Official