Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

Cloud Storage is Google’s object storage service. Tenzir can treat it like a local filesystem to read and write files.

GoogleCloud Storage

You need to configure appropriate credentials using Google’s Application Default Credentials.

Use from_gcs to read files from Cloud Storage. It supports glob patterns and automatic format detection. For writing, use save_gcs with a print operator.

from_gcs "gs://bucket/path/to/file.json"
from_gcs "gs://bucket/logs/**.json"
from {foo: 42}
print_json
save_gcs "gs://bucket/path/to/file.json"

Last updated: