googleapis.com

Accesses source code repositories hosted by Google.

🔑 oauth2 11 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
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
Endpoints (11 total)
GET
/v1/{name}
Returns information about a repo.
GET
/v1/{name}/repos
Returns all repos belonging to a project. The sizes of the repos are not set …
GET
/v1/{name}/config
Returns the Cloud Source Repositories configuration of the project.
GET
/v1/{resource}:getIamPolicy
Gets the access control policy for a resource. Returns an empty policy if the…
POST
/v1/{name}:sync
Synchronize a connected repo. The response contains SyncRepoMetadata in the m…
POST
/v1/{parent}/repos
Creates a repo in the given project with the given name. If the named reposit…
POST
/v1/{resource}:setIamPolicy
Sets the access control policy on the specified resource. Replaces any existi…
POST
/v1/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource. If the resou…
PATCH
/v1/{name}
Updates information about a repo.
PATCH
/v1/{name}/config
Updates the Cloud Source Repositories configuration of the project.
DELETE
/v1/{name}
Deletes a repo.
At a glance
Total SDKs10
Languages6
Endpoints11
Authoauth2
Categories2
https://sourcerepo.googleapis.com