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 details about a Network Connectivity Center spoke.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://networkconnectivity.googleapis.com/v1/{name}
Lists the Network Connectivity Center hubs associated with a given project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://networkconnectivity.googleapis.com/v1/{parent}/hubs
Lists the Network Connectivity Center spokes in a specified project and locat…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://networkconnectivity.googleapis.com/v1/{parent}/spokes
SDK on GitHub 📄 API Docs
SDK
python-aiplatform
Python
API
googleapis.com
googleapis.com:networkconnectivity
At a glance
Language Python
Endpoints15
Base URLhttps://networkconnectivity.googleapis.com
✓ Official