Using python-genai with googleapis.com

Python integration

✓ Official SDK
Install
pip install python-genai
Quick start
import python-genai

# Use an OAuth2 access token
client = python_genai.Client(access_token="YOUR_ACCESS_TOKEN")
Lists all projects to which you have been granted any project role.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects
Lists all jobs that you started in the specified project. Job information is …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/jobs
Lists all datasets in the specified project to which you have been granted th…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/datasets
SDK on GitHub 📄 API Docs
SDK
python-genai
Python
API
googleapis.com
googleapis.com:bigquery
At a glance
Language Python
Endpoints36
Base URLhttps://bigquery.googleapis.com/bigquery/v2
✓ Official