Get Object

gcs.get_object
ActionGoogle Cloudconnection required

Calls the GCS JSON API GET /b/{bucket}/o/{object}?alt=media.

Download an object from a Cloud Storage bucket as a file (base64 envelope).

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Storage
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
bucket
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
bucket
Bucket name (overrides connection).
stringNo———
object
Object name/key.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
boolean—
object
string—
bucket
string—
file_content
The file, base64-encoded.
string—
content_encoding
stringbase64
filename
stringapp-main.zip
content_type
stringapplication/zip
size
Raw size in bytes (before base64).
number—
{
  "bucket": "",
  "content_encoding": "base64",
  "content_type": "application/zip",
  "file_content": "",
  "filename": "app-main.zip",
  "object": "",
  "ok": false,
  "size": 0
}

See Get Object run in a workflow.

In a technical demo we add the Google Cloud Storage connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.