Using python-aiplatform with googleapis.com

Python integration

✓ Official SDK

Install

pip install python-aiplatform

Quick start

import python-aiplatform

# Use an OAuth2 access token
client = python_aiplatform.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-aiplatform
Python
API
googleapis.com
googleapis.com:bigquery

At a glance

Language Python
Endpoints36
Base URLhttps://bigquery.googleapis.com/bigquery/v2
✓ Official