gcp.storage.bucket.describe ​
Describe a Cloud Storage bucket (existence, location, access posture).
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 | — | Project override; defaults to the connection's project. |
bucket | string | Yes | — | Cloud Storage bucket name. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | Echoed connection UUID. |
project_id | string | No | — | Effective project id. |
bucket | string | No | — | Bucket name. |
exists | boolean | No | — | True when the bucket exists (404 returns False, not a failure). |
location | string | No | — | Bucket location. |
location_type | string | No | — | Bucket location type. |
storage_class | string | No | — | Default storage class. |
uniform_bucket_level_access | boolean | No | — | UBLA enabled flag. |
public_access_prevention | string | No | — | Public access prevention setting. |
versioning_enabled | boolean | No | — | Object versioning enabled flag. |
self_link | string | No | — | Bucket selfLink. |
bucket_resource | json | No | — | Sanitized bucket resource. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Engine failed layer envelope. |
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 | — |
describing | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | describing | — |
describing | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "gcp.storage.bucket.describe",
"initial_data": {
"connection_uuid": "value",
"bucket": "value"
}
}