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")
Get a specific policy schema for a customer by its resource name.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://chromepolicy.googleapis.com/v1/{name}
Gets a list of policy schemas that match a specified filter value for a given…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://chromepolicy.googleapis.com/v1/{parent}/policySchemas
SDK on GitHub 📄 API Docs
SDK
python-genai
Python
API
googleapis.com
googleapis.com:chromepolicy
At a glance
Language Python
Endpoints14
Base URLhttps://chromepolicy.googleapis.com
✓ Official