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")
Returns information about a repo.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sourcerepo.googleapis.com/v1/{name}
Returns all repos belonging to a project. The sizes of the repos are not set …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sourcerepo.googleapis.com/v1/{name}/repos
Returns the Cloud Source Repositories configuration of the project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sourcerepo.googleapis.com/v1/{name}/config
SDK on GitHub 📄 API Docs
SDK
python-aiplatform
Python
API
googleapis.com
googleapis.com:sourcerepo
At a glance
Language Python
Endpoints11
Base URLhttps://sourcerepo.googleapis.com
✓ Official