Skip to content
Proud to collaborate with Microsoft for Startups

runner.update_gcp_environment ​

Update GCP runner environment metadata

Refresh GCP runner metadata after config change.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—UUID of the RunnerGroup this GCP/GCE step operates on, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
workflow_run_idstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—UUID of the RunnerGroup this GCP/GCE step operates on, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
workflow_run_idstringNo——
backend_typestringNo——
cloud_connection_uuiduuidNo—UUID of the CloudConnection backing this runner group's GCE backend, picked from the organization's connections.
regionstringNo——
project_idstringNo——
zonestringNo——
machine_typestringNo——
mig_namestringNo——
gce_mig_namestringNo——
statusstringNo——
vpc_networkstringNo——
subnetworkstringNo——
service_account_emailstringNo——
instance_template_namestringNo——
instance_template_self_linkstringNo——
initiated_atstringNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "runner.update_gcp_environment",
  "initial_data": {
    "runner_group_uuid": "value",
    "organization_uuid": "value",
    "workflow_run_id": "value"
  }
}