Skip to content
Reference

Adapter: Google Cloud Storage

Read, write, list and delete objects in a GCS bucket (Workload Identity or a service account key).

On this page

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) or service-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.

SettingTypeRequiredDefaultSecretDescription
bucketstringYesNoBucket name.
prefixstringNoNoFolder inside the bucket every object name is relative to.
authTypeenum: workload-identity, service-account-keyNoworkload-identityNoworkload-identity: the engine's own Google service account (GKE). service-account-key: a stored JSON key.
credentialsobjectNo
credentials.serviceAccountKeystringNoYesService account JSON key (encrypted at rest). Used when authType is service-account-key.
timeoutnumberNo30000NoRequest timeout in milliseconds.
maxObjectBytesnumberNo33554432NoLargest 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.

ActionWhat it doesStep parametersKeys a message may supply
getDownload an object (text, or base64 with encoding).name, encoding?None
uploadUpload an object (uploadType=media).name, content, contentType?, encoding?content
listList objects under the prefix, one page at a time.prefix?, pageToken?, maxResults?None
deleteDelete an object.nameNone

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.

json
{
  "name": "Google Cloud Storage (example)",
  "adapterType": "gcs",
  "config": {
    "bucket": "example-bucket"
  }
}

Limits

  • Objects are capped at maxObjectBytes (32 MiB by default).
  • The object name takes name templates; prefix keeps every object under one folder.

Reference