Create Bucket

gcs.create_bucket
ActionGoogle Cloudconnection required

Calls the GCS JSON API POST /b?project={project}.

Create a Cloud Storage bucket with a location and storage class.

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

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

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id.
stringYes———
name
Globally unique bucket name.
stringYes———
location
Location, e.g. US, EU, us-central1.
stringNoUS——
storage_class
Default storage class.
stringNoSTANDARDone of "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE"—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "location": "US",
  "storage_class": "STANDARD"
}

Output

One shape.

result

FieldTypeExample
ok
boolean—
name
string—
location
string—
storage_class
string—
{
  "location": "",
  "name": "",
  "ok": false,
  "storage_class": ""
}

See Create Bucket 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.