Skip to content
Proud to collaborate with Microsoft for Startups

gcp.run.job.list ​

List Cloud Run jobs in a region.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—Project override; defaults to the connection's project.
regionstringYes—Cloud Run region.
max_resultsintegerNo—Cap on jobs returned; omit for all pages.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project id.
regionstringNo—Cloud Run region.
max_resultsintegerNo—Echoed cap.
countintegerNo—Number of jobs returned.
jobsjsonNo—Sanitized job resources.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer envelope.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
listingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutelisting—
listingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gcp.run.job.list",
  "initial_data": {
    "connection_uuid": "value",
    "region": "value"
  }
}