Adapter: Google Cloud Storage
Read, write, list and delete objects in a GCS bucket (Workload Identity or a service account key).
Purpose
Read, write, list and delete objects in a Google Cloud Storage bucket.
Auth
workload-identity(default: the engine's own Google identity, no stored key) orservice-account-key(a stored JSON key).
Settings
Auth is chosen with authType: workload-identity, service-account-key (default workload-identity). Dotted names are fields inside an object setting. Secret settings are encrypted at rest, never returned by a read, and shown masked in the console and in exports; their defaults are not shown.
| Setting | Type | Required | Default | Secret | Description |
|---|---|---|---|---|---|
bucket | string | Yes | No | Bucket name. | |
prefix | string | No | No | Folder inside the bucket every object name is relative to. | |
authType | enum: workload-identity, service-account-key | No | workload-identity | No | workload-identity: the engine's own Google service account (GKE). service-account-key: a stored JSON key. |
credentials | object | No | |||
credentials.serviceAccountKey | string | No | Yes | Service account JSON key (encrypted at rest). Used when authType is service-account-key. | |
timeout | number | No | 30000 | No | Request timeout in milliseconds. |
maxObjectBytes | number | No | 33554432 | No | Largest object get reads into memory (bytes). |
Actions
A trailing ? marks an optional step parameter. A message can supply only the keys in the last column; everything else comes from the step.
| Action | What it does | Step parameters | Keys a message may supply |
|---|---|---|---|
get | Download an object (text, or base64 with encoding). | name, encoding? | None |
upload | Upload an object (uploadType=media). | name, content, contentType?, encoding? | content |
list | List objects under the prefix, one page at a time. | prefix?, pageToken?, maxResults? | None |
delete | Delete an object. | name | None |
Minimal example
The smallest profile the engine accepts: the required settings only, with synthetic values. Create it with POST /api/adapter-profiles, then test it with POST /api/adapter-profiles/{id}/test.
{
"name": "Google Cloud Storage (example)",
"adapterType": "gcs",
"config": {
"bucket": "example-bucket"
}
}Limits
- Objects are capped at
maxObjectBytes(32 MiB by default). - The object
nametakes name templates;prefixkeeps every object under one folder.