gcp.compute.project.describe ​
Describe a GCP project and validate provider credentials.
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. |
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. |
region | string | No | — | Optional region used for credential scoping. |
project_number | string | No | — | Numeric GCP project number. |
project_name | string | No | — | Human-readable project name. |
lifecycle_state | string | No | — | Cloud Resource Manager lifecycle state. |
default_service_account | string | No | — | Default Compute Engine service account email. |
auth_validation | json | No | — | Authentication and project resolution summary. |
project | json | No | — | Sanitized Cloud Resource Manager project 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.project.describe",
"initial_data": {
"connection_uuid": "value"
}
}