Skip to main content

Gcp/storage

@swamp/gcp/storagev2026.05.28.1· 6d agoMODELS
01README

Google Cloud storage infrastructure models

02Release Notes
  • Updated: buckets
03Models11
anywherecaches.tsv2026.05.26.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
admissionPolicy?stringThe cache-level entry admission policy.
anywhereCacheId?stringThe ID of the Anywhere cache instance.
bucket?stringThe name of the bucket containing this cache instance.
createTime?stringThe creation time of the cache instance in RFC 3339 format.
id?stringThe ID of the resource, including the project number, bucket name and anywhere cache ID.
ingestOnWrite?booleanSpecifies whether objects are ingested into the cache upon write.
pendingUpdate?booleanTrue if the cache instance has an active Update long-running operation.
state?stringThe current state of the cache instance.
ttl?stringThe TTL of all cache entries in whole seconds. e.g., "7200s".
updateTime?stringThe modification time of the cache instance metadata in RFC 3339 format.
zone?stringThe zone in which the cache instance is running. For example, us-central1-a.
fn create()
Create a anywhereCaches
fn get(identifier: string)
Get a anywhereCaches
ArgumentTypeDescription
identifierstringThe name of the anywhereCaches
fn update()
Update anywhereCaches attributes
fn sync()
Sync anywhereCaches state from GCP
fn list(pageSize?: number, maxPages?: number)
List anywhereCaches resources
ArgumentTypeDescription
pageSize?numberMaximum number of items to return in a single page of responses. Maximum 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn disable()
disable
fn pause()
pause
fn resume()
resume
bucketaccesscontrols.tsv2026.05.25.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
bucket?stringThe name of the bucket.
domain?stringThe domain associated with the entity, if any.
email?stringThe email address associated with the entity, if any.
entitystringThe entity holding the permission, in one of the following forms: - user-userId - user-email - group-groupId - group-email - domain-domain - project-team-projectId - allUsers - allAuthenticatedUsers Examples: - The user liz@example.com would be user-liz@example.com. - The group example@googlegroups.com would be group-example@googlegroups.com. - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId?stringThe ID for the entity, if any.
id?stringThe ID of the access-control entry.
projectTeam?objectThe project number.
rolestringThe access permission for the entity.
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
fn create()
Create a bucketAccessControls
fn get(identifier: string)
Get a bucketAccessControls
ArgumentTypeDescription
identifierstringThe name of the bucketAccessControls
fn update()
Update bucketAccessControls attributes
fn delete(identifier: string)
Delete the bucketAccessControls
ArgumentTypeDescription
identifierstringThe name of the bucketAccessControls
fn sync()
Sync bucketAccessControls state from GCP
fn list(userProject?: string, maxPages?: number)
List bucketAccessControls resources
ArgumentTypeDescription
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
maxPages?numberMaximum number of pages to fetch (default: 10)
buckets.tsv2026.05.28.1

Global Arguments

ArgumentTypeDescription
acl?arrayThe name of the bucket.
autoclass?objectWhether or not Autoclass is enabled on this bucket
billing?objectWhen set to true, Requester Pays is enabled for this bucket.
cors?arrayThe value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
customPlacementConfig?objectThe list of regional locations in which data is placed.
defaultEventBasedHold?booleanThe default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold's release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
defaultObjectAcl?arrayThe name of the bucket.
encryption?objectServer-determined value that indicates the time from which configuration was enforced and effective. This value is in RFC 3339 format.
generation?stringThe generation of this bucket.
hardDeleteTime?stringThe hard delete time of the bucket in RFC 3339 format.
hierarchicalNamespace?objectWhen set to true, hierarchical namespace is enabled for this bucket.
iamConfiguration?objectIf set, access is controlled only by bucket-level or above IAM policies.
id?stringThe ID of the bucket. For buckets, the id and name properties are the same.
ipFilter?objectWhether to allow all service agents to access the bucket regardless of the IP filter configuration.
labels?recordUser-provided labels, in key/value pairs.
lifecycle?objectTarget storage class. Required iff the type of the action is SetStorageClass.
location?stringThe location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the [Developer's Guide](https://cloud.google.com/storage/docs/locations) for the authoritative list.
locationType?stringThe type of the bucket location.
logging?objectThe destination bucket where the current bucket's logs should be placed.
metageneration?stringThe metadata generation of this bucket.
namestringThe name of the bucket.
objectRetention?objectThe bucket's object retention mode. Can be Enabled.
owner?objectThe entity, in the form project-owner-projectId.
projectNumber?stringThe project number of the project the bucket belongs to.
retentionPolicy?objectServer-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.
rpo?stringThe Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.
satisfiesPZI?booleanReserved for future use.
satisfiesPZS?booleanReserved for future use.
softDeletePolicy?objectServer-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
softDeleteTime?stringThe soft delete time of the bucket in RFC 3339 format.
storageClass?stringThe bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see [Storage Classes](https://cloud.google.com/storage/docs/storage-classes).
timeCreated?stringThe creation time of the bucket in RFC 3339 format.
updated?stringThe modification time of the bucket in RFC 3339 format.
versioning?objectWhile set to true, versioning is fully enabled for this bucket.
website?objectIf the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages.
enableObjectRetention?stringWhen set to true, object retention is enabled for this bucket.
predefinedAcl?stringApply a predefined set of access controls to this bucket.
predefinedDefaultObjectAcl?stringApply a predefined set of default object access controls to this bucket.
project?stringA valid API project identifier.
projection?stringSet of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.
userProject?stringThe project to be billed for this request.
fn create()
Create a buckets
fn get(identifier: string)
Get a buckets
ArgumentTypeDescription
identifierstringThe name of the buckets
fn update()
Update buckets attributes
fn delete(identifier: string)
Delete the buckets
ArgumentTypeDescription
identifierstringThe name of the buckets
fn sync()
Sync buckets state from GCP
fn list(maxResults?: number, prefix?: string, project?: string, projection?: string, returnPartialSuccess?: boolean, softDeleted?: boolean, userProject?: string, maxPages?: number)
List buckets resources
ArgumentTypeDescription
maxResults?numberMaximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.
prefix?stringFilter results to buckets whose names begin with this prefix.
project?stringA valid API project identifier.
projection?stringSet of properties to return. Defaults to noAcl.
returnPartialSuccess?booleanIf true, return a list of bucket resource names for buckets that are in unreachable locations.
softDeleted?booleanIf true, only soft-deleted bucket versions will be returned. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).
userProject?stringThe project to be billed for this request.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy()
get iam policy
fn get_storage_layout()
get storage layout
fn lock_retention_policy()
lock retention policy
fn relocate(destinationCustomPlacementConfig?: any, destinationKmsKeyName?: any, destinationLocation?: any, validateOnly?: any)
relocate
ArgumentTypeDescription
destinationCustomPlacementConfig?any
destinationKmsKeyName?any
destinationLocation?any
validateOnly?any
fn restore()
restore
fn set_iam_policy(bindings?: any, etag?: any, kind?: any, resourceId?: any, version?: any)
set iam policy
ArgumentTypeDescription
bindings?any
etag?any
kind?any
resourceId?any
version?any
fn test_iam_permissions()
test iam permissions
defaultobjectaccesscontrols.tsv2026.05.25.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
bucket?stringThe name of the bucket.
domain?stringThe domain associated with the entity, if any.
email?stringThe email address associated with the entity, if any.
entitystringThe entity holding the permission, in one of the following forms: - user-userId - user-email - group-groupId - group-email - domain-domain - project-team-projectId - allUsers - allAuthenticatedUsers Examples: - The user liz@example.com would be user-liz@example.com. - The group example@googlegroups.com would be group-example@googlegroups.com. - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId?stringThe ID for the entity, if any.
generation?stringThe content generation of the object, if applied to an object.
id?stringThe ID of the access-control entry.
object?stringThe name of the object, if applied to an object.
projectTeam?objectThe project number.
rolestringThe access permission for the entity.
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
fn create()
Create a defaultObjectAccessControls
fn get(identifier: string)
Get a defaultObjectAccessControls
ArgumentTypeDescription
identifierstringThe name of the defaultObjectAccessControls
fn update()
Update defaultObjectAccessControls attributes
fn delete(identifier: string)
Delete the defaultObjectAccessControls
ArgumentTypeDescription
identifierstringThe name of the defaultObjectAccessControls
fn sync()
Sync defaultObjectAccessControls state from GCP
fn list(ifMetagenerationMatch?: string, ifMetagenerationNotMatch?: string, userProject?: string, maxPages?: number)
List defaultObjectAccessControls resources
ArgumentTypeDescription
ifMetagenerationMatch?stringIf present, only return default ACL listing if the bucket's current metageneration matches this value.
ifMetagenerationNotMatch?stringIf present, only return default ACL listing if the bucket's current metageneration does not match the given value.
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
maxPages?numberMaximum number of pages to fetch (default: 10)
folders.tsv2026.05.25.1

Global Arguments

ArgumentTypeDescription
bucket?stringThe name of the bucket containing this folder.
createTime?stringThe creation time of the folder in RFC 3339 format.
id?stringThe ID of the folder, including the bucket name, folder name.
metageneration?stringThe version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.
name?stringThe name of the folder. Required if not specified by URL parameter.
pendingRenameInfo?objectThe ID of the rename folder operation.
updateTime?stringThe modification time of the folder metadata in RFC 3339 format.
recursive?stringIf true, any parent folder which doesn't exist will be created automatically.
fn create()
Create a folders
fn get(identifier: string)
Get a folders
ArgumentTypeDescription
identifierstringThe name of the folders
fn delete(identifier: string)
Delete the folders
ArgumentTypeDescription
identifierstringThe name of the folders
fn sync()
Sync folders state from GCP
fn list(delimiter?: string, endOffset?: string, pageSize?: number, prefix?: string, startOffset?: string, maxPages?: number)
List folders resources
ArgumentTypeDescription
delimiter?stringReturns results in a directory-like mode. The only supported value is '/'. If set, items will only contain folders that either exactly match the prefix, or are one level below the prefix.
endOffset?stringFilter results to folders whose names are lexicographically before endOffset. If startOffset is also set, the folders listed will have names between startOffset (inclusive) and endOffset (exclusive).
pageSize?numberMaximum number of items to return in a single page of responses.
prefix?stringFilter results to folders whose paths begin with this prefix. If set, the value must either be an empty string or end with a '/'.
startOffset?stringFilter results to folders whose names are lexicographically equal to or after startOffset. If endOffset is also set, the folders listed will have names between startOffset (inclusive) and endOffset (exclusive).
maxPages?numberMaximum number of pages to fetch (default: 10)
fn rename()
rename
hmackeys.tsv2026.05.25.2

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessId?stringThe ID of the HMAC Key.
etag?stringHTTP 1.1 Entity tag for the HMAC key.
id?stringThe ID of the HMAC key, including the Project ID and the Access ID.
kind?stringThe kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.
projectId?stringProject ID owning the service account to which the key authenticates.
selfLink?stringThe link to this resource.
serviceAccountEmail?stringThe email address of the key's associated service account.
state?stringThe state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.
timeCreated?stringThe creation time of the HMAC key in RFC 3339 format.
updated?stringThe last modification time of the HMAC key metadata in RFC 3339 format.
userProject?stringThe project to be billed for this request.
fn create()
Create a hmacKeys
fn get(identifier: string)
Get a hmacKeys
ArgumentTypeDescription
identifierstringThe name of the hmacKeys
fn update()
Update hmacKeys attributes
fn delete(identifier: string)
Delete the hmacKeys
ArgumentTypeDescription
identifierstringThe name of the hmacKeys
fn sync()
Sync hmacKeys state from GCP
fn list(maxResults?: number, serviceAccountEmail?: string, showDeletedKeys?: boolean, userProject?: string, maxPages?: number)
List hmacKeys resources
ArgumentTypeDescription
maxResults?numberMaximum number of items to return in a single page of responses. The service uses this parameter or 250 items, whichever is smaller. The max number of items per page will also be limited by the number of distinct service accounts in the response. If the number of service accounts in a single response is too high, the page will truncated and a next page token will be returned.
serviceAccountEmail?stringIf present, only keys for the given service account are returned.
showDeletedKeys?booleanWhether or not to show keys in the DELETED state.
userProject?stringThe project to be billed for this request.
maxPages?numberMaximum number of pages to fetch (default: 10)
managedfolders.tsv2026.05.25.1

Global Arguments

ArgumentTypeDescription
bucket?stringThe name of the bucket containing this managed folder.
createTime?stringThe creation time of the managed folder in RFC 3339 format.
id?stringThe ID of the managed folder, including the bucket name and managed folder name.
metageneration?stringThe version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
name?stringThe name of the managed folder. Required if not specified by URL parameter.
updateTime?stringThe last update time of the managed folder metadata in RFC 3339 format.
fn create()
Create a managedFolders
fn get(identifier: string)
Get a managedFolders
ArgumentTypeDescription
identifierstringThe name of the managedFolders
fn delete(identifier: string)
Delete the managedFolders
ArgumentTypeDescription
identifierstringThe name of the managedFolders
fn sync()
Sync managedFolders state from GCP
fn list(pageSize?: number, prefix?: string, maxPages?: number)
List managedFolders resources
ArgumentTypeDescription
pageSize?numberMaximum number of items to return in a single page of responses.
prefix?stringThe managed folder name/path prefix to filter the output list of results.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy()
get iam policy
fn set_iam_policy(bindings?: any, etag?: any, kind?: any, resourceId?: any, version?: any)
set iam policy
ArgumentTypeDescription
bindings?any
etag?any
kind?any
resourceId?any
version?any
fn test_iam_permissions()
test iam permissions
notifications.tsv2026.05.25.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
custom_attributes?recordAn optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
event_types?arrayIf present, only send notifications about listed event types. If empty, sent notifications for all event types.
id?stringThe ID of the notification.
object_name_prefix?stringIf present, only apply this notification configuration to object names that begin with this prefix.
payload_formatstringThe desired content of the Payload.
topicstringThe Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
bucketstringThe parent bucket of the notification.
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
fn create()
Create a notifications
fn get(identifier: string)
Get a notifications
ArgumentTypeDescription
identifierstringThe name of the notifications
fn delete(identifier: string)
Delete the notifications
ArgumentTypeDescription
identifierstringThe name of the notifications
fn sync()
Sync notifications state from GCP
fn list(userProject?: string, maxPages?: number)
List notifications resources
ArgumentTypeDescription
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
maxPages?numberMaximum number of pages to fetch (default: 10)
objectaccesscontrols.tsv2026.05.25.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
bucket?stringThe name of the bucket.
domain?stringThe domain associated with the entity, if any.
email?stringThe email address associated with the entity, if any.
entitystringThe entity holding the permission, in one of the following forms: - user-userId - user-email - group-groupId - group-email - domain-domain - project-team-projectId - allUsers - allAuthenticatedUsers Examples: - The user liz@example.com would be user-liz@example.com. - The group example@googlegroups.com would be group-example@googlegroups.com. - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId?stringThe ID for the entity, if any.
generation?stringThe content generation of the object, if applied to an object.
id?stringThe ID of the access-control entry.
object?stringThe name of the object, if applied to an object.
projectTeam?objectThe project number.
rolestringThe access permission for the entity.
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
fn create()
Create a objectAccessControls
fn get(identifier: string)
Get a objectAccessControls
ArgumentTypeDescription
identifierstringThe name of the objectAccessControls
fn update()
Update objectAccessControls attributes
fn delete(identifier: string)
Delete the objectAccessControls
ArgumentTypeDescription
identifierstringThe name of the objectAccessControls
fn sync()
Sync objectAccessControls state from GCP
fn list(generation?: string, userProject?: string, maxPages?: number)
List objectAccessControls resources
ArgumentTypeDescription
generation?stringIf present, selects a specific revision of this object (as opposed to the latest version, the default).
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
maxPages?numberMaximum number of pages to fetch (default: 10)
objects.tsv2026.05.25.1

Global Arguments

ArgumentTypeDescription
acl?arrayThe name of the bucket.
bucket?stringThe name of the bucket containing this object.
cacheControl?stringCache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.
componentCount?numberNumber of underlying components that make up this object. Components are accumulated by compose operations.
contentDisposition?stringContent-Disposition of the object data.
contentEncoding?stringContent-Encoding of the object data.
contentLanguage?stringContent-Language of the object data.
contentType?stringContent-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.
contexts?objectThe time at which the object context was created in RFC 3339 format.
crc32c?stringCRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see [Data Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).
customTime?stringA timestamp in RFC 3339 format specified by the user for an object.
customerEncryption?objectThe encryption algorithm.
eventBasedHold?booleanWhether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is the loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false.
generation?stringThe content generation of this object. Used for object versioning.
hardDeleteTime?stringThis is the time (in the future) when the soft-deleted object will no longer be restorable. It is equal to the soft delete time plus the current soft delete retention duration of the bucket.
id?stringThe ID of the object, including the bucket name, object name, and generation number.
kmsKeyName?stringNot currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
md5Hash?stringMD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see [Data Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).
mediaLink?stringMedia download link.
metadata?recordUser-provided metadata, in key/value pairs.
metageneration?stringThe version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
name?stringThe name of the object. Required if not specified by URL parameter.
owner?objectThe entity, in the form user-userId.
restoreToken?stringRestore token used to differentiate deleted objects with the same name and generation. This field is only returned for deleted objects in hierarchical namespace buckets.
retention?objectThe bucket's object retention mode, can only be Unlocked or Locked.
retentionExpirationTime?stringA server-determined value that specifies the earliest time that the object's retention period expires. This value is in RFC 3339 format. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
size?stringContent-Length of the data in bytes.
softDeleteTime?stringThe time at which the object became soft-deleted in RFC 3339 format.
storageClass?stringStorage class of the object.
temporaryHold?booleanWhether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
timeCreated?stringThe creation time of the object in RFC 3339 format.
timeDeleted?stringThe time at which the object became noncurrent in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
timeFinalized?stringThe time when the object was finalized.
timeStorageClassUpdated?stringThe time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
updated?stringThe modification time of the object metadata in RFC 3339 format. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
ifGenerationMatch?stringMakes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
ifGenerationNotMatch?stringMakes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
ifMetagenerationMatch?stringMakes the operation conditional on whether the object's current metageneration matches the given value.
ifMetagenerationNotMatch?stringMakes the operation conditional on whether the object's current metageneration does not match the given value.
predefinedAcl?stringApply a predefined set of access controls to this object.
projection?stringSet of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
fn create()
Create a objects
fn get(identifier: string)
Get a objects
ArgumentTypeDescription
identifierstringThe name of the objects
fn update()
Update objects attributes
fn delete(identifier: string)
Delete the objects
ArgumentTypeDescription
identifierstringThe name of the objects
fn sync()
Sync objects state from GCP
fn list(delimiter?: string, endOffset?: string, filter?: string, includeFoldersAsPrefixes?: boolean, includeTrailingDelimiter?: boolean, matchGlob?: string, maxResults?: number, prefix?: string, projection?: string, softDeleted?: boolean, startOffset?: string, userProject?: string, versions?: boolean, maxPages?: number)
List objects resources
ArgumentTypeDescription
delimiter?stringReturns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.
endOffset?stringFilter results to objects whose names are lexicographically before endOffset. If startOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).
filter?stringFilter the returned objects. Currently only supported for the contexts field. If delimiter is set, the returned prefixes are exempt from this filter.
includeFoldersAsPrefixes?booleanOnly applicable if delimiter is set to '/'. If true, will also include folders and managed folders (besides objects) in the returned prefixes.
includeTrailingDelimiter?booleanIf true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.
matchGlob?stringFilter results to objects and prefixes that match this glob pattern.
maxResults?numberMaximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.
prefix?stringFilter results to objects whose names begin with this prefix.
projection?stringSet of properties to return. Defaults to noAcl.
softDeleted?booleanIf true, only soft-deleted object versions will be listed. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).
startOffset?stringFilter results to objects whose names are lexicographically equal to or after startOffset. If endOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).
userProject?stringThe project to be billed for this request. Required for Requester Pays buckets.
versions?booleanIf true, lists all versions of an object as distinct results. The default is false. For more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).
maxPages?numberMaximum number of pages to fetch (default: 10)
fn bulk_restore(allowOverwrite?: any, copySourceAcl?: any, createdAfterTime?: any, createdBeforeTime?: any, matchGlobs?: any, softDeletedAfterTime?: any, softDeletedBeforeTime?: any)
bulk restore
ArgumentTypeDescription
allowOverwrite?any
copySourceAcl?any
createdAfterTime?any
createdBeforeTime?any
matchGlobs?any
softDeletedAfterTime?any
softDeletedBeforeTime?any
fn compose(deleteSourceObjects?: any, destination?: any, kind?: any, sourceObjects?: any)
compose
ArgumentTypeDescription
deleteSourceObjects?any
destination?any
kind?any
sourceObjects?any
fn copy(acl?: any, bucket?: any, cacheControl?: any, componentCount?: any, contentDisposition?: any, contentEncoding?: any, contentLanguage?: any, contentType?: any, contexts?: any, crc32c?: any, customTime?: any, customerEncryption?: any, etag?: any, eventBasedHold?: any, generation?: any, hardDeleteTime?: any, id?: any, kind?: any, kmsKeyName?: any, md5Hash?: any, mediaLink?: any, metadata?: any, metageneration?: any, name?: any, owner?: any, restoreToken?: any, retention?: any, retentionExpirationTime?: any, selfLink?: any, size?: any, softDeleteTime?: any, storageClass?: any, temporaryHold?: any, timeCreated?: any, timeDeleted?: any, timeFinalized?: any, timeStorageClassUpdated?: any, updated?: any)
copy
ArgumentTypeDescription
acl?any
bucket?any
cacheControl?any
componentCount?any
contentDisposition?any
contentEncoding?any
contentLanguage?any
contentType?any
contexts?any
crc32c?any
customTime?any
customerEncryption?any
etag?any
eventBasedHold?any
generation?any
hardDeleteTime?any
id?any
kind?any
kmsKeyName?any
md5Hash?any
mediaLink?any
metadata?any
metageneration?any
name?any
owner?any
restoreToken?any
retention?any
retentionExpirationTime?any
selfLink?any
size?any
softDeleteTime?any
storageClass?any
temporaryHold?any
timeCreated?any
timeDeleted?any
timeFinalized?any
timeStorageClassUpdated?any
updated?any
fn get_iam_policy()
get iam policy
fn move()
move
fn restore(allowOverwrite?: any, copySourceAcl?: any, createdAfterTime?: any, createdBeforeTime?: any, matchGlobs?: any, softDeletedAfterTime?: any, softDeletedBeforeTime?: any)
restore
ArgumentTypeDescription
allowOverwrite?any
copySourceAcl?any
createdAfterTime?any
createdBeforeTime?any
matchGlobs?any
softDeletedAfterTime?any
softDeletedBeforeTime?any
fn rewrite(acl?: any, bucket?: any, cacheControl?: any, componentCount?: any, contentDisposition?: any, contentEncoding?: any, contentLanguage?: any, contentType?: any, contexts?: any, crc32c?: any, customTime?: any, customerEncryption?: any, etag?: any, eventBasedHold?: any, generation?: any, hardDeleteTime?: any, id?: any, kind?: any, kmsKeyName?: any, md5Hash?: any, mediaLink?: any, metadata?: any, metageneration?: any, name?: any, owner?: any, restoreToken?: any, retention?: any, retentionExpirationTime?: any, selfLink?: any, size?: any, softDeleteTime?: any, storageClass?: any, temporaryHold?: any, timeCreated?: any, timeDeleted?: any, timeFinalized?: any, timeStorageClassUpdated?: any, updated?: any)
rewrite
ArgumentTypeDescription
acl?any
bucket?any
cacheControl?any
componentCount?any
contentDisposition?any
contentEncoding?any
contentLanguage?any
contentType?any
contexts?any
crc32c?any
customTime?any
customerEncryption?any
etag?any
eventBasedHold?any
generation?any
hardDeleteTime?any
id?any
kind?any
kmsKeyName?any
md5Hash?any
mediaLink?any
metadata?any
metageneration?any
name?any
owner?any
restoreToken?any
retention?any
retentionExpirationTime?any
selfLink?any
size?any
softDeleteTime?any
storageClass?any
temporaryHold?any
timeCreated?any
timeDeleted?any
timeFinalized?any
timeStorageClassUpdated?any
updated?any
fn set_iam_policy(bindings?: any, etag?: any, kind?: any, resourceId?: any, version?: any)
set iam policy
ArgumentTypeDescription
bindings?any
etag?any
kind?any
resourceId?any
version?any
fn test_iam_permissions()
test iam permissions
fn watch_all(address?: any, expiration?: any, id?: any, kind?: any, params?: any, payload?: any, resourceId?: any, resourceUri?: any, token?: any, type?: any)
watch all
ArgumentTypeDescription
address?any
expiration?any
id?any
kind?any
params?any
payload?any
resourceId?any
resourceUri?any
token?any
type?any
serviceaccount.tsv2026.05.25.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a serviceAccount
ArgumentTypeDescription
identifierstringThe name of the serviceAccount
fn sync()
Sync serviceAccount state from GCP
04Previous Versions16
2026.05.26.1May 26, 2026
  • Updated: anywherecaches
2026.05.25.2May 25, 2026
  • Updated: buckets, hmackeys
2026.05.22.2May 22, 2026
  • Updated: buckets
2026.05.21.2May 21, 2026
  • Updated: anywherecaches, bucketaccesscontrols, buckets, defaultobjectaccesscontrols, folders, managedfolders, notifications, objectaccesscontrols, objects, hmackeys, serviceaccount
2026.05.21.1May 21, 2026
2026.05.20.1May 20, 2026
  • Updated: anywherecaches
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.05.18.2May 18, 2026

Modified 1 models

2026.04.23.1Apr 23, 2026
2026.04.13.1Apr 13, 2026
  • Updated: anywherecaches

Modified 1 models

2026.04.04.1Apr 4, 2026
  • Updated: buckets
2026.04.03.3Apr 3, 2026
  • Updated: anywherecaches, bucketaccesscontrols, buckets, defaultobjectaccesscontrols, folders, managedfolders, notifications, objectaccesscontrols, objects, hmackeys, serviceaccount
2026.04.03.1Apr 3, 2026
  • Updated: anywherecaches, bucketaccesscontrols, buckets, defaultobjectaccesscontrols, folders, managedfolders, notifications, objectaccesscontrols, objects, hmackeys, serviceaccount
2026.04.02.2Apr 2, 2026

Modified 1 models

2026.03.27.1Mar 27, 2026
  • Added: anywherecaches, bucketaccesscontrols, buckets, defaultobjectaccesscontrols, folders, managedfolders, notifications, objectaccesscontrols, objects, hmackeys, serviceaccount
05Stats
A
100 / 100
Downloads
14
Archive size
150.9 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels