Action Google Cloud Storage
GCS Download File
Downloads a file from Google Cloud Storage to a local path using an OAuth 2.0 access token. Fires On Success with download details, or On Error with the error message.
Node IDGcsDownloadFileAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Bucket bucket | string | Yes | — | The GCS bucket name to download from. |
Object Name object_name | string | Yes | — | The object path in the bucket to download, e.g. "assets/textures/diffuse.png". |
Local File Path local_file_path | string | Yes | — | Absolute local path to save the downloaded file to. Must not contain ".." path traversal. |
Access Token Secret Key access_token_secret_key | string | Yes | GCS_ACCESS_TOKEN | Key in the Secrets store holding your Google OAuth 2.0 access token. |
Base URL (Advanced) base_url | string | No | — | Override the GCS base URL. Leave empty for standard GCS. Used for testing. |
Allow Private Networks allowPrivateNetworks | boolean | No | false | If false (default), the Base URL override is validated against SSRF protection rules. Enable only when using a private GCS-compatible endpoint on an internal network. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | Execution signal. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Success output0 | object | result | Fires on successful download. Contains bucket, object_name, local_file_path, and provider. |
On Error output1 | object | error | Fires on failure with the error message. |