Skip to content
Proud to collaborate with Microsoft for Startups

gcp.compute.url_map.upsert ​

Create or patch a global URL map that path-routes / (static) vs /api (service) across backend services.

Create or patch a global URL map that path-routes across backend services.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—Explicit GCP project override.
namestringYes—URL map name.
default_servicestringYes—Default backend service self link.
host_rulesjsonNo—Host rules list.
path_matchersjsonNo—Path matcher list for path-based routing.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Resolved GCP project.
namestringNo—URL map name.
default_servicestringNo—Default backend service self link.
host_rulesjsonNo—Host rules list.
path_matchersjsonNo—Path matcher list.
self_linkstringNo—Self link of the URL map.
operation_namestringNo—Compute operation name.
createdbooleanNo—True when created; false when patched.
url_mapjsonNo—Sanitized provider URL map or operation.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer if applicable.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
preflightingNoNo—execute—
upsertingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecuteupserting—
upsertingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.compute.url_map.upsert",
  "initial_data": {
    "connection_uuid": "value",
    "name": "value",
    "default_service": "value"
  }
}