Google Cloud Storage
Upload, download, and list objects in Google Cloud Storage buckets. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
12 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Clone ObjectCopy / clone an object (file) to a new location (same or different bucket), optionally overriding metadata. Perfect for duplicating files as backup or version.
clone_object - Create BucketCreate a new bucket in a specified location/configuration. Perfect for automating storage provisioning for new projects.
create_bucket - Create Bucket ACLAdd an ACL entry at bucket level. Perfect for granting permission to manage the bucket.
create_bucket_acl - Create Bucket Default Object ACLSet default ACLs for new objects added to a bucket. Perfect for automatically assigning permissions to new uploads.
create_bucket_default_object_acl - Create Object ACLAdd an ACL entry to an object (grant a permission). Perfect for granting read/write access to a user or group.
create_object_acl - Delete Bucket ACLRemove an ACL entry from a bucket. Perfect for revoking access for a user or group.
delete_bucket_acl - Delete Bucket Default Object ACLRemove default ACL settings from a bucket. Perfect for reverting to default behavior.
delete_bucket_default_object_acl - Delete Empty BucketClean up unused buckets by deleting them if they contain no live objects.
delete_empty_bucket - Delete ObjectPermanently delete a specific object. Perfect for removing obsolete files.
delete_object - Delete Object ACLRemove an ACL entry from an object. Perfect for revoking access for a user.
delete_object_acl - Search BucketsSearch buckets by name. Perfect for finding buckets in your project.
search_buckets - Search ObjectsSearch objects by criteria. Perfect for finding files in your bucket.
search_objects
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Google Cloud Storage. To connect it for every project, use Workspace settings, Integrations.
- Sign in to Google Cloud Storage
You sign in to Google Cloud Storage and approve access. Appbricx keeps the tokens, encrypted, and refreshes them.
https://www.googleapis.com/auth/devstorage.full_control
This uses an OAuth app: the platform's, or your own from the admin panel, and you can bring your own credentials.
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("google_cloud_storage", "clone_object", { "projectId": "<projectId>", "sourceBucket": "<sourceBucket>", "sourceObject": "<sourceObject>", "destBucket": "<destBucket>", "destObject": "<destination object name>" }); if (!res.success) throw new Error(res.error); ctx.log.info("Google Cloud Storage answered", { output: res.output }); }
More in Data and storage
Google Cloud Storage and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.