Google Cloud Storage

App · 25 actions

Manage Cloud Storage buckets, objects, notifications and access controls, and upload text objects.

Actions

ActionWhat it does
Compose objectsCompose objects.
Copy objectCopy object.
Create bucketCreate bucket.
Create bucket access controlCreate bucket access control.
Create notificationCreate notification.
Delete bucketDelete bucket.
Delete bucket access controlDelete bucket access control.
Delete notificationDelete notification.
Delete objectDelete object.
Get bucketGet bucket.
Get bucket IAM policyGet bucket IAM policy.
Get notificationGet notification.
Get object metadataGet object metadata.
Get project service accountGet project service account.
List bucket access controlsList bucket access controls.
List bucketsList buckets.
List default object access controlsList default object access controls.
List notificationsList notifications.
List objectsList objects.
Rewrite objectRewrite object.
Test bucket permissionsTest bucket permissions.
Update bucketUpdate bucket.
Update bucket access controlUpdate bucket access control.
Update object metadataUpdate object metadata.
Upload text objectUpload text object.

Compose objects

Compose objects. Returns the service response.

Inputs

Destination bucketdestination_buckettextRequired
Destinationbucket.
Destination objectdestination_objecttextRequired
Destinationobject.
Destination predefined acldestination_predefined_acltext
Destinationpredefinedacl.One of: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead.
Drop context groupsdrop_context_groupslist
Dropcontextgroups.
If generation matchif_generation_matchtext
Ifgenerationmatch.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
Kms key namekms_key_nametext
Kmskeyname.
User projectuser_projecttext
Userproject.
Destinationdestinationobject
Destination.
Source objectssource_objectslistRequired
Sourceobjects.
Delete source objectsdelete_source_objectstrue/false
Deletesourceobjects.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "acl": [],
    "bucket": "example",
    "cacheControl": "example",
    "componentCount": 1,
    "contentDisposition": "example",
    "contentEncoding": "example",
    "contentLanguage": "example",
    "contentType": "example",
    "contexts": {
      "custom": {}
    },
    "crc32c": "example",
    "customTime": "2026-01-01T00:00:00Z",
    "customerEncryption": {
      "encryptionAlgorithm": "example",
      "keySha256": "example"
    },
    "etag": "example",
    "eventBasedHold": false,
    "generation": "example",
    "hardDeleteTime": "2026-01-01T00:00:00Z",
    "id": "example",
    "kind": "example",
    "kmsKeyName": "example",
    "md5Hash": "example",
    "mediaLink": "example",
    "metadata": {},
    "metageneration": "example",
    "name": "example",
    "owner": {
      "entity": "example",
      "entityId": "example"
    },
    "restoreToken": "example",
    "retention": {
      "mode": "example",
      "retainUntilTime": "2026-01-01T00:00:00Z"
    },
    "retentionExpirationTime": "2026-01-01T00:00:00Z",
    "selfLink": "example",
    "size": "example",
    "softDeleteTime": "2026-01-01T00:00:00Z",
    "storageClass": "example",
    "temporaryHold": false,
    "timeCreated": "2026-01-01T00:00:00Z",
    "timeDeleted": "2026-01-01T00:00:00Z",
    "timeFinalized": "2026-01-01T00:00:00Z",
    "timeStorageClassUpdated": "2026-01-01T00:00:00Z",
    "updated": "2026-01-01T00:00:00Z"
  },
  "has_more": false,
  "next_cursor": "example"
}

Copy object

Copy object. Returns the service response.

Inputs

Destination bucketdestination_buckettextRequired
Destinationbucket.
Destination kms key namedestination_kms_key_nametext
Destinationkmskeyname.
Destination objectdestination_objecttextRequired
Destinationobject.
Destination predefined acldestination_predefined_acltext
Destinationpredefinedacl.One of: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead.
If generation matchif_generation_matchtext
Ifgenerationmatch.
If generation not matchif_generation_not_matchtext
Ifgenerationnotmatch.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
If source generation matchif_source_generation_matchtext
Ifsourcegenerationmatch.
If source generation not matchif_source_generation_not_matchtext
Ifsourcegenerationnotmatch.
If source metageneration matchif_source_metageneration_matchtext
Ifsourcemetagenerationmatch.
If source metageneration not matchif_source_metageneration_not_matchtext
Ifsourcemetagenerationnotmatch.
Source bucketsource_buckettextRequired
Sourcebucket.
Source generationsource_generationtext
Sourcegeneration.
Source objectsource_objecttextRequired
Sourceobject.
User projectuser_projecttext
Userproject.
Cache controlcache_controltext
Cachecontrol.
Content dispositioncontent_dispositiontext
Contentdisposition.
Content encodingcontent_encodingtext
Contentencoding.
Content languagecontent_languagetext
Contentlanguage.
Content typecontent_typetext
Contenttype.
Custom timecustom_timedate and time
Customtime.
Event based holdevent_based_holdtrue/false
Eventbasedhold.
Metadatametadataobject
Metadata.
Storage classstorage_classtext
Storageclass.One of: STANDARD, NEARLINE, COLDLINE, ARCHIVE.
Temporary holdtemporary_holdtrue/false
Temporaryhold.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "acl": [],
    "bucket": "example",
    "cacheControl": "example",
    "componentCount": 1,
    "contentDisposition": "example",
    "contentEncoding": "example",
    "contentLanguage": "example",
    "contentType": "example",
    "contexts": {
      "custom": {}
    },
    "crc32c": "example",
    "customTime": "2026-01-01T00:00:00Z",
    "customerEncryption": {
      "encryptionAlgorithm": "example",
      "keySha256": "example"
    },
    "etag": "example",
    "eventBasedHold": false,
    "generation": "example",
    "hardDeleteTime": "2026-01-01T00:00:00Z",
    "id": "example",
    "kind": "example",
    "kmsKeyName": "example",
    "md5Hash": "example",
    "mediaLink": "example",
    "metadata": {},
    "metageneration": "example",
    "name": "example",
    "owner": {
      "entity": "example",
      "entityId": "example"
    },
    "restoreToken": "example",
    "retention": {
      "mode": "example",
      "retainUntilTime": "2026-01-01T00:00:00Z"
    },
    "retentionExpirationTime": "2026-01-01T00:00:00Z",
    "selfLink": "example",
    "size": "example",
    "softDeleteTime": "2026-01-01T00:00:00Z",
    "storageClass": "example",
    "temporaryHold": false,
    "timeCreated": "2026-01-01T00:00:00Z",
    "timeDeleted": "2026-01-01T00:00:00Z",
    "timeFinalized": "2026-01-01T00:00:00Z",
    "timeStorageClassUpdated": "2026-01-01T00:00:00Z",
    "updated": "2026-01-01T00:00:00Z"
  },
  "has_more": false,
  "next_cursor": "example"
}

Create bucket

Create bucket. Returns the service response.

Inputs

Predefined aclpredefined_acltext
Predefinedacl.One of: authenticatedRead, private, projectPrivate, publicRead, publicReadWrite.
Predefined default object aclpredefined_default_object_acltext
Predefineddefaultobjectacl.One of: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead.
Projectprojecttext
Google Cloud project ID. Leave empty to use the service account’s project.
User projectuser_projecttext
Userproject.
Enable object retentionenable_object_retentiontrue/false
Enableobjectretention.
Billingbillingobject
Billing.
Corscorslist
Cors.
Encryptionencryptionobject
Encryption.
Iam configurationiam_configurationobject
Iamconfiguration.
Labelslabelsobject
Labels.
Lifecyclelifecycleobject
Lifecycle.
Autoclassautoclassobject
Autoclass.
Locationlocationtext
Location.
Loggingloggingobject
Logging.
NamenametextRequired
Name.
Storage classstorage_classtext
Storageclass.One of: STANDARD, NEARLINE, COLDLINE, ARCHIVE.
Versioningversioningobject
Versioning.
Websitewebsiteobject
Website.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "acl": [],
    "autoclass": {
      "enabled": false,
      "terminalStorageClass": "example",
      "terminalStorageClassUpdateTime": "2026-01-01T00:00:00Z",
      "toggleTime": "2026-01-01T00:00:00Z"
    },
    "billing": {
      "requesterPays": false
    },
    "cors": [],
    "customPlacementConfig": {
      "dataLocations": []
    },
    "defaultEventBasedHold": false,
    "defaultObjectAcl": [],
    "encryption": {
      "customerManagedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      },
      "customerSuppliedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      },
      "defaultKmsKeyName": "example",
      "googleManagedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      }
    },
    "etag": "example",
    "generation": "example",
    "hardDeleteTime": "2026-01-01T00:00:00Z",
    "hierarchicalNamespace": {
      "enabled": false
    },
    "iamConfiguration": {
      "bucketPolicyOnly": {
        "enabled": false,
        "lockedTime": "2026-01-01T00:00:00Z"
      },
      "publicAccessPrevention": "example",
      "uniformBucketLevelAccess": {
        "enabled": false,
        "lockedTime": "2026-01-01T00:00:00Z"
      }
    },
    "id": "example",
    "ipFilter": {
      "allowAllServiceAgentAccess": false,
      "allowCrossOrgVpcs": false,
      "mode": "example",
      "publicNetworkSource": {
        "allowedIpCidrRanges": []
      },
      "vpcNetworkSources": []
    },
    "kind": "example",
    "labels": {},
    "lifecycle": {
      "rule": []
    },
    "location": "example",
    "locationType": "example",
    "logging": {
      "logBucket": "example",
      "logObjectPrefix": "example"
    },
    "metageneration": "example",
    "name": "example",
    "objectRetention": {
      "mode": "example"
    },
    "owner": {
      "entity": "example",
      "entityId": "example"
    },
    "projectNumber": "example",
    "retentionPolicy": {
      "effectiveTime": "2026-01-01T00:00:00Z",
      "isLocked": false,
      "retentionPeriod": "example"
    },
    "rpo": "example",
    "satisfiesPZI": false,
    "satisfiesPZS": false,
    "selfLink": "example",
    "softDeletePolicy": {
      "effectiveTime": "2026-01-01T00:00:00Z",
      "hardDeletePause": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "enabled": false
      },
      "retentionDurationSeconds": "example"
    },
    "softDeleteTime": "2026-01-01T00:00:00Z",
    "storageClass": "example",
    "timeCreated": "2026-01-01T00:00:00Z",
    "updated": "2026-01-01T00:00:00Z",
    "versioning": {
      "enabled": false
    },
    "website": {
      "mainPageSuffix": "example",
      "notFoundPage": "example"
    }
  },
  "has_more": false,
  "next_cursor": "example"
}

Create bucket access control

Create bucket access control. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
User projectuser_projecttext
Userproject.
EntityentitytextRequired
Entity.
RoleroletextRequired
Role.One of: OWNER, READER, WRITER.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "bucket": "example",
    "domain": "example",
    "email": "example",
    "entity": "example",
    "entityId": "example",
    "etag": "example",
    "id": "example",
    "kind": "example",
    "projectTeam": {
      "projectNumber": "example",
      "team": "example"
    },
    "role": "example",
    "selfLink": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

Create notification

Create notification. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
User projectuser_projecttext
Userproject.
Custom attributescustom_attributesobject
Custom attributes.
Etagetagtext
Etag.
Event typesevent_typeslist
Event types.One or more of: OBJECT_FINALIZE, OBJECT_METADATA_UPDATE, OBJECT_DELETE, OBJECT_ARCHIVE.
Ididtext
Id.
Object name prefixobject_name_prefixtext
Object name prefix.
Payload formatpayload_formattextRequired
Payload format.One of: JSON_API_V1, NONE.
Self linkself_linktext
Selflink.
TopictopictextRequired
Topic.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "custom_attributes": {},
    "etag": "example",
    "event_types": [],
    "id": "example",
    "kind": "example",
    "object_name_prefix": "example",
    "payload_format": "example",
    "selfLink": "example",
    "topic": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

Delete bucket

Delete bucket. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
User projectuser_projecttext
Userproject.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

Delete bucket access control

Delete bucket access control. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
EntityentitytextRequired
Entity.
User projectuser_projecttext
Userproject.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

Delete notification

Delete notification. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
NotificationnotificationtextRequired
Notification.
User projectuser_projecttext
Userproject.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

Delete object

Delete object. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
Generationgenerationtext
Generation.
If generation matchif_generation_matchtext
Ifgenerationmatch.
If generation not matchif_generation_not_matchtext
Ifgenerationnotmatch.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
ObjectobjecttextRequired
Object.
User projectuser_projecttext
Userproject.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

Get bucket

Get bucket. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
Generationgenerationtext
Generation.
Soft deletedsoft_deletedtrue/false
Softdeleted.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
User projectuser_projecttext
Userproject.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "acl": [],
    "autoclass": {
      "enabled": false,
      "terminalStorageClass": "example",
      "terminalStorageClassUpdateTime": "2026-01-01T00:00:00Z",
      "toggleTime": "2026-01-01T00:00:00Z"
    },
    "billing": {
      "requesterPays": false
    },
    "cors": [],
    "customPlacementConfig": {
      "dataLocations": []
    },
    "defaultEventBasedHold": false,
    "defaultObjectAcl": [],
    "encryption": {
      "customerManagedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      },
      "customerSuppliedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      },
      "defaultKmsKeyName": "example",
      "googleManagedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      }
    },
    "etag": "example",
    "generation": "example",
    "hardDeleteTime": "2026-01-01T00:00:00Z",
    "hierarchicalNamespace": {
      "enabled": false
    },
    "iamConfiguration": {
      "bucketPolicyOnly": {
        "enabled": false,
        "lockedTime": "2026-01-01T00:00:00Z"
      },
      "publicAccessPrevention": "example",
      "uniformBucketLevelAccess": {
        "enabled": false,
        "lockedTime": "2026-01-01T00:00:00Z"
      }
    },
    "id": "example",
    "ipFilter": {
      "allowAllServiceAgentAccess": false,
      "allowCrossOrgVpcs": false,
      "mode": "example",
      "publicNetworkSource": {
        "allowedIpCidrRanges": []
      },
      "vpcNetworkSources": []
    },
    "kind": "example",
    "labels": {},
    "lifecycle": {
      "rule": []
    },
    "location": "example",
    "locationType": "example",
    "logging": {
      "logBucket": "example",
      "logObjectPrefix": "example"
    },
    "metageneration": "example",
    "name": "example",
    "objectRetention": {
      "mode": "example"
    },
    "owner": {
      "entity": "example",
      "entityId": "example"
    },
    "projectNumber": "example",
    "retentionPolicy": {
      "effectiveTime": "2026-01-01T00:00:00Z",
      "isLocked": false,
      "retentionPeriod": "example"
    },
    "rpo": "example",
    "satisfiesPZI": false,
    "satisfiesPZS": false,
    "selfLink": "example",
    "softDeletePolicy": {
      "effectiveTime": "2026-01-01T00:00:00Z",
      "hardDeletePause": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "enabled": false
      },
      "retentionDurationSeconds": "example"
    },
    "softDeleteTime": "2026-01-01T00:00:00Z",
    "storageClass": "example",
    "timeCreated": "2026-01-01T00:00:00Z",
    "updated": "2026-01-01T00:00:00Z",
    "versioning": {
      "enabled": false
    },
    "website": {
      "mainPageSuffix": "example",
      "notFoundPage": "example"
    }
  },
  "has_more": false,
  "next_cursor": "example"
}

Get bucket IAM policy

Get bucket IAM policy. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
Options requested policy versionoptions_requested_policy_versionnumber
Optionsrequestedpolicyversion.At least 1.
User projectuser_projecttext
Userproject.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "bindings": [],
    "etag": "example",
    "kind": "example",
    "resourceId": "example",
    "version": 1
  },
  "has_more": false,
  "next_cursor": "example"
}

Get notification

Get notification. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
NotificationnotificationtextRequired
Notification.
User projectuser_projecttext
Userproject.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "custom_attributes": {},
    "etag": "example",
    "event_types": [],
    "id": "example",
    "kind": "example",
    "object_name_prefix": "example",
    "payload_format": "example",
    "selfLink": "example",
    "topic": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

Get object metadata

Get object metadata. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
Generationgenerationtext
Generation.
If generation matchif_generation_matchtext
Ifgenerationmatch.
If generation not matchif_generation_not_matchtext
Ifgenerationnotmatch.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
ObjectobjecttextRequired
Object.
User projectuser_projecttext
Userproject.
Soft deletedsoft_deletedtrue/false
Softdeleted.
Restore tokenrestore_tokentext
Restoretoken.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "acl": [],
    "bucket": "example",
    "cacheControl": "example",
    "componentCount": 1,
    "contentDisposition": "example",
    "contentEncoding": "example",
    "contentLanguage": "example",
    "contentType": "example",
    "contexts": {
      "custom": {}
    },
    "crc32c": "example",
    "customTime": "2026-01-01T00:00:00Z",
    "customerEncryption": {
      "encryptionAlgorithm": "example",
      "keySha256": "example"
    },
    "etag": "example",
    "eventBasedHold": false,
    "generation": "example",
    "hardDeleteTime": "2026-01-01T00:00:00Z",
    "id": "example",
    "kind": "example",
    "kmsKeyName": "example",
    "md5Hash": "example",
    "mediaLink": "example",
    "metadata": {},
    "metageneration": "example",
    "name": "example",
    "owner": {
      "entity": "example",
      "entityId": "example"
    },
    "restoreToken": "example",
    "retention": {
      "mode": "example",
      "retainUntilTime": "2026-01-01T00:00:00Z"
    },
    "retentionExpirationTime": "2026-01-01T00:00:00Z",
    "selfLink": "example",
    "size": "example",
    "softDeleteTime": "2026-01-01T00:00:00Z",
    "storageClass": "example",
    "temporaryHold": false,
    "timeCreated": "2026-01-01T00:00:00Z",
    "timeDeleted": "2026-01-01T00:00:00Z",
    "timeFinalized": "2026-01-01T00:00:00Z",
    "timeStorageClassUpdated": "2026-01-01T00:00:00Z",
    "updated": "2026-01-01T00:00:00Z"
  },
  "has_more": false,
  "next_cursor": "example"
}

Get project service account

Get project service account. Returns the service response.

Inputs

Project idproject_idtext
Google Cloud project ID. Leave empty to use the service account’s project.
User projectuser_projecttext
Userproject.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "email_address": "example",
    "kind": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

List bucket access controls

List bucket access controls. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
User projectuser_projecttext
Userproject.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "items": [],
    "kind": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

List buckets

List buckets. Returns one page; use the next page cursor to continue.

Inputs

Page sizemax_resultsnumber
Maxresults.At least 0.
Next page cursorpage_tokentext
Pagetoken.
Prefixprefixtext
Prefix.
Soft deletedsoft_deletedtrue/false
Softdeleted.
Projectprojecttext
Google Cloud project ID. Leave empty to use the service account’s project.
Projectionprojectiontext
Projection.One of: full, noAcl.
User projectuser_projecttext
Userproject.
Return partial successreturn_partial_successtrue/false
Returnpartialsuccess.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "items": [],
    "kind": "example",
    "nextPageToken": "example",
    "unreachable": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List default object access controls

List default object access controls. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
User projectuser_projecttext
Userproject.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "items": [],
    "kind": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

List notifications

List notifications. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
User projectuser_projecttext
Userproject.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "items": [],
    "kind": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

List objects

List objects. Returns one page; use the next page cursor to continue.

Inputs

BucketbuckettextRequired
Bucket.
Delimiterdelimitertext
Delimiter.
End offsetend_offsettext
Endoffset.
Include trailing delimiterinclude_trailing_delimitertrue/false
Includetrailingdelimiter.
Page sizemax_resultsnumber
Maxresults.At least 0.
Next page cursorpage_tokentext
Pagetoken.
Prefixprefixtext
Prefix.
Projectionprojectiontext
Projection.One of: full, noAcl.
Start offsetstart_offsettext
Startoffset.
User projectuser_projecttext
Userproject.
Versionsversionstrue/false
Versions.
Match globmatch_globtext
Matchglob.
Filterfiltertext
Filter.
Soft deletedsoft_deletedtrue/false
Softdeleted.
Include folders as prefixesinclude_folders_as_prefixestrue/false
Includefoldersasprefixes.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "items": [],
    "kind": "example",
    "nextPageToken": "example",
    "prefixes": []
  },
  "has_more": false,
  "next_cursor": "example"
}

Rewrite object

Rewrite object. Returns the service response.

Inputs

Destination bucketdestination_buckettextRequired
Destinationbucket.
Destination kms key namedestination_kms_key_nametext
Destinationkmskeyname.
Destination objectdestination_objecttextRequired
Destinationobject.
Destination predefined acldestination_predefined_acltext
Destinationpredefinedacl.One of: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead.
Drop context groupsdrop_context_groupslist
Dropcontextgroups.
If generation matchif_generation_matchtext
Ifgenerationmatch.
If generation not matchif_generation_not_matchtext
Ifgenerationnotmatch.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
If source generation matchif_source_generation_matchtext
Ifsourcegenerationmatch.
If source generation not matchif_source_generation_not_matchtext
Ifsourcegenerationnotmatch.
If source metageneration matchif_source_metageneration_matchtext
Ifsourcemetagenerationmatch.
If source metageneration not matchif_source_metageneration_not_matchtext
Ifsourcemetagenerationnotmatch.
Max bytes rewritten per callmax_bytes_rewritten_per_calltext
Maxbytesrewrittenpercall.
Rewrite tokenrewrite_tokentext
Rewritetoken.
Source bucketsource_buckettextRequired
Sourcebucket.
Source generationsource_generationtext
Sourcegeneration.
Source objectsource_objecttextRequired
Sourceobject.
User projectuser_projecttext
Userproject.
Cache controlcache_controltext
Cachecontrol.
Content dispositioncontent_dispositiontext
Contentdisposition.
Content encodingcontent_encodingtext
Contentencoding.
Content languagecontent_languagetext
Contentlanguage.
Content typecontent_typetext
Contenttype.
Custom timecustom_timedate and time
Customtime.
Event based holdevent_based_holdtrue/false
Eventbasedhold.
Metadatametadataobject
Metadata.
Storage classstorage_classtext
Storageclass.One of: STANDARD, NEARLINE, COLDLINE, ARCHIVE.
Temporary holdtemporary_holdtrue/false
Temporaryhold.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "done": false,
    "kind": "example",
    "objectSize": "example",
    "resource": {
      "acl": [],
      "bucket": "example",
      "cacheControl": "example",
      "componentCount": 1,
      "contentDisposition": "example",
      "contentEncoding": "example",
      "contentLanguage": "example",
      "contentType": "example",
      "contexts": {
        "custom": {}
      },
      "crc32c": "example",
      "customTime": "2026-01-01T00:00:00Z",
      "customerEncryption": {
        "encryptionAlgorithm": "example",
        "keySha256": "example"
      },
      "etag": "example",
      "eventBasedHold": false,
      "generation": "example",
      "hardDeleteTime": "2026-01-01T00:00:00Z",
      "id": "example",
      "kind": "example",
      "kmsKeyName": "example",
      "md5Hash": "example",
      "mediaLink": "example",
      "metadata": {},
      "metageneration": "example",
      "name": "example",
      "owner": {
        "entity": "example",
        "entityId": "example"
      },
      "restoreToken": "example",
      "retention": {
        "mode": "example",
        "retainUntilTime": "2026-01-01T00:00:00Z"
      },
      "retentionExpirationTime": "2026-01-01T00:00:00Z",
      "selfLink": "example",
      "size": "example",
      "softDeleteTime": "2026-01-01T00:00:00Z",
      "storageClass": "example",
      "temporaryHold": false,
      "timeCreated": "2026-01-01T00:00:00Z",
      "timeDeleted": "2026-01-01T00:00:00Z",
      "timeFinalized": "2026-01-01T00:00:00Z",
      "timeStorageClassUpdated": "2026-01-01T00:00:00Z",
      "updated": "2026-01-01T00:00:00Z"
    },
    "rewriteToken": "example",
    "totalBytesRewritten": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

Test bucket permissions

Test bucket permissions. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
PermissionspermissionslistRequired
Permissions.One or more of: storage.buckets.get, storage.buckets.update, storage.buckets.delete, storage.buckets.getIamPolicy, storage.objects.list, storage.objects.get, storage.objects.create, storage.objects.update, storage.objects.delete.
User projectuser_projecttext
Userproject.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "kind": "example",
    "permissions": []
  },
  "has_more": false,
  "next_cursor": "example"
}

Update bucket

Update bucket. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
Predefined aclpredefined_acltext
Predefinedacl.One of: authenticatedRead, private, projectPrivate, publicRead, publicReadWrite.
Predefined default object aclpredefined_default_object_acltext
Predefineddefaultobjectacl.One of: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead.
User projectuser_projecttext
Userproject.
Billingbillingobject
Billing.
Corscorslist
Cors.
Encryptionencryptionobject
Encryption.
Iam configurationiam_configurationobject
Iamconfiguration.
Labelslabelsobject
Labels.
Lifecyclelifecycleobject
Lifecycle.
Autoclassautoclassobject
Autoclass.
Locationlocationtext
Location.
Loggingloggingobject
Logging.
Namenametext
Name.
Storage classstorage_classtext
Storageclass.One of: STANDARD, NEARLINE, COLDLINE, ARCHIVE.
Versioningversioningobject
Versioning.
Websitewebsiteobject
Website.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "acl": [],
    "autoclass": {
      "enabled": false,
      "terminalStorageClass": "example",
      "terminalStorageClassUpdateTime": "2026-01-01T00:00:00Z",
      "toggleTime": "2026-01-01T00:00:00Z"
    },
    "billing": {
      "requesterPays": false
    },
    "cors": [],
    "customPlacementConfig": {
      "dataLocations": []
    },
    "defaultEventBasedHold": false,
    "defaultObjectAcl": [],
    "encryption": {
      "customerManagedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      },
      "customerSuppliedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      },
      "defaultKmsKeyName": "example",
      "googleManagedEncryptionEnforcementConfig": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "restrictionMode": "NotRestricted"
      }
    },
    "etag": "example",
    "generation": "example",
    "hardDeleteTime": "2026-01-01T00:00:00Z",
    "hierarchicalNamespace": {
      "enabled": false
    },
    "iamConfiguration": {
      "bucketPolicyOnly": {
        "enabled": false,
        "lockedTime": "2026-01-01T00:00:00Z"
      },
      "publicAccessPrevention": "example",
      "uniformBucketLevelAccess": {
        "enabled": false,
        "lockedTime": "2026-01-01T00:00:00Z"
      }
    },
    "id": "example",
    "ipFilter": {
      "allowAllServiceAgentAccess": false,
      "allowCrossOrgVpcs": false,
      "mode": "example",
      "publicNetworkSource": {
        "allowedIpCidrRanges": []
      },
      "vpcNetworkSources": []
    },
    "kind": "example",
    "labels": {},
    "lifecycle": {
      "rule": []
    },
    "location": "example",
    "locationType": "example",
    "logging": {
      "logBucket": "example",
      "logObjectPrefix": "example"
    },
    "metageneration": "example",
    "name": "example",
    "objectRetention": {
      "mode": "example"
    },
    "owner": {
      "entity": "example",
      "entityId": "example"
    },
    "projectNumber": "example",
    "retentionPolicy": {
      "effectiveTime": "2026-01-01T00:00:00Z",
      "isLocked": false,
      "retentionPeriod": "example"
    },
    "rpo": "example",
    "satisfiesPZI": false,
    "satisfiesPZS": false,
    "selfLink": "example",
    "softDeletePolicy": {
      "effectiveTime": "2026-01-01T00:00:00Z",
      "hardDeletePause": {
        "effectiveTime": "2026-01-01T00:00:00Z",
        "enabled": false
      },
      "retentionDurationSeconds": "example"
    },
    "softDeleteTime": "2026-01-01T00:00:00Z",
    "storageClass": "example",
    "timeCreated": "2026-01-01T00:00:00Z",
    "updated": "2026-01-01T00:00:00Z",
    "versioning": {
      "enabled": false
    },
    "website": {
      "mainPageSuffix": "example",
      "notFoundPage": "example"
    }
  },
  "has_more": false,
  "next_cursor": "example"
}

Update bucket access control

Update bucket access control. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
EntityentitytextRequired
Entity.
User projectuser_projecttext
Userproject.
Metadata entitymetadata_entitytext
Entity.
Roleroletext
Role.One of: OWNER, READER, WRITER.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "bucket": "example",
    "domain": "example",
    "email": "example",
    "entity": "example",
    "entityId": "example",
    "etag": "example",
    "id": "example",
    "kind": "example",
    "projectTeam": {
      "projectNumber": "example",
      "team": "example"
    },
    "role": "example",
    "selfLink": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

Update object metadata

Update object metadata. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
Generationgenerationtext
Generation.
If generation matchif_generation_matchtext
Ifgenerationmatch.
If generation not matchif_generation_not_matchtext
Ifgenerationnotmatch.
If metageneration matchif_metageneration_matchtext
Ifmetagenerationmatch.
If metageneration not matchif_metageneration_not_matchtext
Ifmetagenerationnotmatch.
Override unlocked retentionoverride_unlocked_retentiontrue/false
Overrideunlockedretention.
ObjectobjecttextRequired
Object.
Predefined aclpredefined_acltext
Predefinedacl.One of: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead.
User projectuser_projecttext
Userproject.
Cache controlcache_controltext
Cachecontrol.
Content dispositioncontent_dispositiontext
Contentdisposition.
Content encodingcontent_encodingtext
Contentencoding.
Content languagecontent_languagetext
Contentlanguage.
Content typecontent_typetext
Contenttype.
Custom timecustom_timedate and time
Customtime.
Event based holdevent_based_holdtrue/false
Eventbasedhold.
Metadatametadataobject
Metadata.
Storage classstorage_classtext
Storageclass.One of: STANDARD, NEARLINE, COLDLINE, ARCHIVE.
Temporary holdtemporary_holdtrue/false
Temporaryhold.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "acl": [],
    "bucket": "example",
    "cacheControl": "example",
    "componentCount": 1,
    "contentDisposition": "example",
    "contentEncoding": "example",
    "contentLanguage": "example",
    "contentType": "example",
    "contexts": {
      "custom": {}
    },
    "crc32c": "example",
    "customTime": "2026-01-01T00:00:00Z",
    "customerEncryption": {
      "encryptionAlgorithm": "example",
      "keySha256": "example"
    },
    "etag": "example",
    "eventBasedHold": false,
    "generation": "example",
    "hardDeleteTime": "2026-01-01T00:00:00Z",
    "id": "example",
    "kind": "example",
    "kmsKeyName": "example",
    "md5Hash": "example",
    "mediaLink": "example",
    "metadata": {},
    "metageneration": "example",
    "name": "example",
    "owner": {
      "entity": "example",
      "entityId": "example"
    },
    "restoreToken": "example",
    "retention": {
      "mode": "example",
      "retainUntilTime": "2026-01-01T00:00:00Z"
    },
    "retentionExpirationTime": "2026-01-01T00:00:00Z",
    "selfLink": "example",
    "size": "example",
    "softDeleteTime": "2026-01-01T00:00:00Z",
    "storageClass": "example",
    "temporaryHold": false,
    "timeCreated": "2026-01-01T00:00:00Z",
    "timeDeleted": "2026-01-01T00:00:00Z",
    "timeFinalized": "2026-01-01T00:00:00Z",
    "timeStorageClassUpdated": "2026-01-01T00:00:00Z",
    "updated": "2026-01-01T00:00:00Z"
  },
  "has_more": false,
  "next_cursor": "example"
}

Upload text object

Upload text object. Returns the service response.

Inputs

BucketbuckettextRequired
Bucket.
NamenametextRequired
Name.
ContentcontenttextRequired
Content.
Content typecontent_typetext
Content type.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

On this page