gcp.run.domain-mapping.delete ​
Delete a Cloud Run domain mapping; idempotent when the mapping is already absent.
Delete a Cloud Run domain mapping. Idempotent when already absent.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | Base-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | GCP CloudConnection UUID. |
project_id | string | No | — | GCP project override. |
region | string | Yes | — | Cloud Run region. |
domain | string | Yes | — | Mapped custom domain. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | Echoed connection UUID. |
project_id | string | No | — | Effective project. |
region | string | No | — | Cloud Run region. |
domain | string | No | — | Mapped custom domain. |
deleted | boolean | No | — | True when this run deleted the mapping. |
already_absent | boolean | No | — | True when the mapping did not exist. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Engine failed layer. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
deleting | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | deleting | — |
deleting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "gcp.run.domain-mapping.delete",
"initial_data": {
"connection_uuid": "value",
"region": "value",
"domain": "value"
}
}