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" });
Gets the latest state of a long-running operation. Clients can use this metho…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://logging.googleapis.com/v2/{name}
Gets a sink.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://logging.googleapis.com/v2/{sinkName}
Gets a logs-based metric.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://logging.googleapis.com/v2/{metricName}
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:logging
At a glance
Language TypeScript
Endpoints39
Base URLhttps://logging.googleapis.com
✓ Official