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" });
Lists all available database flags for Cloud SQL instances.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sqladmin.googleapis.com/v1/flags
Lists all available machine types (tiers) for Cloud SQL, for example, `db-cus…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sqladmin.googleapis.com/v1/projects/{project}/tiers
Lists instances under a given project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sqladmin.googleapis.com/v1/projects/{project}/instances
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:sqladmin
At a glance
Language TypeScript
Endpoints53
Base URLhttps://sqladmin.googleapis.com
✓ Official