Googleapis Sourcerepo
Googleapis Sourcerepo is a generated connector for Google Cloud Source Repositories, a service for hosting and managing Git source code repositories.
- Base URL:
https://sourcerepo.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
sourcerepo_projects_repos_get— GET /v1/{name} — Returns information about a repo.sourcerepo_projects_getconfig— GET /v1/{name}/config — Returns the Cloud Source Repositories configuration of the project.sourcerepo_projects_repos_list— GET /v1/{name}/repos — Returns all repos belonging to a project. The sizes of the repos are not set bysourcerepo_projects_repos_getiampolicy— GET /v1/{resource}:getIamPolicy — Gets the access control policy for a resource. Returns an empty policy if the resourcerepo_projects_repos_delete— DELETE /v1/{name} — Deletes a repo.sourcerepo_projects_repos_patch— PATCH /v1/{name} — Updates information about a repo.
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: sourcerepo_projects_repos_get
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: sourcerepo_projects_repos_get, sourcerepo_projects_getconfig, sourcerepo_projects_repos_list, sourcerepo_projects_repos_getiampolicy, sourcerepo_projects_repos_delete, sourcerepo_projects_repos_patch |
name |
string | no | — | Path parameter name (required by some operations). |
resource |
string | no | — | Path parameter resource (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |