gcp.compute.network.describe ​
Describe a GCP VPC network by name or self link.
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 ID override. |
name | string | Yes | — | VPC network name or self link. |
region | string | No | — | Optional region used for credential scoping. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | GCP CloudConnection UUID. |
project_id | string | No | — | GCP project ID override. |
name | string | No | — | VPC network name or self link. |
region | string | No | — | Optional region used for credential scoping. |
exists | boolean | No | — | Whether the network exists. |
self_link | string | No | — | Network self link. |
network_id | string | No | — | Provider network identifier. |
auto_create_subnetworks | boolean | No | — | Whether auto subnet creation is enabled. |
routing_mode | string | No | — | Dynamic routing mode. |
network | json | No | — | Sanitized Compute Network response. |
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 | — | preflight | — |
executing | No | No | — | complete | — |
preflighting | No | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | preflight | preflighting | — |
preflighting | execute | executing | — |
executing | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "gcp.compute.network.describe",
"initial_data": {
"connection_uuid": "value",
"name": "value"
}
}