Googleapis Cloudbuild
Google Cloud Build API is an interface for automating software builds, tests, and deployments on Google Cloud.
- Base URL:
https://cloudbuild.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
cloudbuild_projects_workerpools_get— GET /v1alpha2/{name} — Returns details of aWorkerPool.cloudbuild_projects_workerpools_list— GET /v1alpha2/{parent}/workerPools — ListsWorkerPools by project.cloudbuild_projects_workerpools_delete— DELETE /v1alpha2/{name} — Deletes aWorkerPool.cloudbuild_projects_workerpools_patch— PATCH /v1alpha2/{name} — Updates aWorkerPool.cloudbuild_projects_locations_operations_cancel— POST /v1alpha2/{name}:cancel — Starts asynchronous cancellation on a long-running operation. The server makes acloudbuild_projects_workerpools_create— POST /v1alpha2/{parent}/workerPools — Creates aWorkerPoolto run the builds, and returns the new worker pool.
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: cloudbuild_projects_workerpools_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: cloudbuild_projects_workerpools_get, cloudbuild_projects_workerpools_list, cloudbuild_projects_workerpools_delete, cloudbuild_projects_workerpools_patch, cloudbuild_projects_locations_operations_cancel, cloudbuild_projects_workerpools_create |
name |
string | no | — | Path parameter name (required by some operations). |
parent |
string | no | — | Path parameter parent (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). |