Skip to main content
Jeremias Meister - Tools & Pipeline

Action Google Cloud Storage

GCS Upload File

Uploads a local file to a Google Cloud Storage bucket using an OAuth 2.0 access token. Fires On Success with upload details, or On Error with the error message.

Node IDGcsUploadFileAction

Parameters

ParameterTypeRequiredDefaultDescription
Bucket bucket string Yes — The GCS bucket name to upload to.
Object Name object_name string Yes — The destination object path in the bucket, e.g. "assets/textures/diffuse.png".
Local File Path local_file_path string Yes — Absolute path to the local file to upload.
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 upload 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

InputTypeRequiredDescription
Execute input0 object Yes Execution signal.

Outputs

OutputTypeIdentifierDescription
On Success output0 object result Fires on successful upload. Contains bucket, object_name, and provider.
On Error output1 object error Fires on failure with the error message.