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")
Queries policy activities on GCP resources.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://policyanalyzer.googleapis.com/v1beta1/{parent}/activities:query
SDK on GitHub 📄 API Docs
SDK
python-aiplatform
Python
API
googleapis.com
googleapis.com:policyanalyzer
At a glance
Language Python
Endpoints1
Base URLhttps://policyanalyzer.googleapis.com
✓ Official