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 the latest state of a long-running operation. Clients can use this metho…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dialogflow.googleapis.com/v3beta1/{name}
Returns the list of all flows in the specified agent.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dialogflow.googleapis.com/v3beta1/{parent}/flows
Returns the list of all pages in the specified flow.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dialogflow.googleapis.com/v3beta1/{parent}/pages
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:dialogflow
At a glance
Language Go
Endpoints55
Base URLhttps://dialogflow.googleapis.com
✓ Official