Using js-genai with googleapis.com

TypeScript integration

✓ Official SDK
Install
npm install js-genai
Quick start
import Js_genai from 'js-genai';

const client = new Js_genai({ accessToken: "YOUR_ACCESS_TOKEN" });
Returns details of a `WorkerPool`.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudbuild.googleapis.com/v1alpha2/{name}
Lists `WorkerPool`s by project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudbuild.googleapis.com/v1alpha2/{parent}/workerPools
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:cloudbuild
At a glance
Language TypeScript
Endpoints6
Base URLhttps://cloudbuild.googleapis.com
✓ Official