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")
Gets an endpoint.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://servicedirectory.googleapis.com/v1beta1/{name}
Lists information about the supported locations for this service.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://servicedirectory.googleapis.com/v1beta1/{name}/locations
Lists all services belonging to a namespace.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://servicedirectory.googleapis.com/v1beta1/{parent}/services
SDK on GitHub 📄 API Docs
SDK
python-aiplatform
Python
API
googleapis.com
googleapis.com:servicedirectory
At a glance
Language Python
Endpoints14
Base URLhttps://servicedirectory.googleapis.com
✓ Official