Storage
import { Storage } from "https://googleapis.deno.dev/v1/storage:v1.ts";
Stores and retrieves potentially large, immutable data objects.
§Methods
Disables an Anywhere Cache instance.
The ID of requested Anywhere Cache instance.
Name of the parent bucket.
Returns the metadata of an Anywhere Cache instance.
The ID of requested Anywhere Cache instance.
Name of the parent bucket.
Returns a list of Anywhere Cache instances of the bucket matching the criteria.
Name of the parent bucket.
Pauses an Anywhere Cache instance.
The ID of requested Anywhere Cache instance.
Name of the parent bucket.
Resumes a paused or disabled Anywhere Cache instance.
The ID of requested Anywhere Cache instance.
Name of the parent bucket.
Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance.
The ID of requested Anywhere Cache instance.
Name of the parent bucket.
Permanently deletes the ACL entry for the specified entity on the specified bucket.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Returns the ACL entry for the specified entity on the specified bucket.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Creates a new ACL entry on the specified bucket.
Name of a bucket.
Retrieves ACL entries on the specified bucket.
Name of a bucket.
Patches an ACL entry on the specified bucket.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Updates an ACL entry on the specified bucket.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Retrieves a list of buckets for a given project.
Locks retention policy on a bucket.
Name of a bucket.
Patches a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.
Name of a bucket.
Updates an IAM policy for the specified bucket.
Name of a bucket.
Tests a set of permissions on the given bucket to see which, if any, are held by the caller.
Name of a bucket.
Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.
Name of a bucket.
Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Returns the default object ACL entry for the specified entity on the specified bucket.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Creates a new default object ACL entry on the specified bucket.
Name of a bucket.
Retrieves default object ACL entries on the specified bucket.
Name of a bucket.
Patches a default object ACL entry on the specified bucket.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Updates a default object ACL entry on the specified bucket.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Permanently deletes a folder. Only applicable to buckets with hierarchical namespace enabled.
Name of the bucket in which the folder resides.
Name of a folder.
Returns metadata for the specified folder. Only applicable to buckets with hierarchical namespace enabled.
Name of the bucket in which the folder resides.
Name of a folder.
Creates a new folder. Only applicable to buckets with hierarchical namespace enabled.
Name of the bucket in which the folder resides.
Retrieves a list of folders matching the criteria. Only applicable to buckets with hierarchical namespace enabled.
Name of the bucket in which to look for folders.
Renames a source folder to a destination folder. Only applicable to buckets with hierarchical namespace enabled.
Name of the bucket in which the folders are in.
Name of the destination folder.
Name of the source folder.
Permanently deletes a managed folder.
Name of the bucket containing the managed folder.
The managed folder name/path.
Returns metadata of the specified managed folder.
Name of the bucket containing the managed folder.
The managed folder name/path.
Returns an IAM policy for the specified managed folder.
Name of the bucket containing the managed folder.
The managed folder name/path.
Lists managed folders in the given bucket.
Name of the bucket containing the managed folder.
Updates an IAM policy for the specified managed folder.
Name of the bucket containing the managed folder.
The managed folder name/path.
Tests a set of permissions on the given managed folder to see which, if any, are held by the caller.
Name of the bucket containing the managed folder.
The managed folder name/path.
Permanently deletes a notification subscription.
The parent bucket of the notification.
ID of the notification to delete.
View a notification configuration.
The parent bucket of the notification.
Notification ID
Creates a notification subscription for a given bucket.
The parent bucket of the notification.
Retrieves a list of notification subscriptions for a given bucket.
Name of a Google Cloud Storage bucket.
Permanently deletes the ACL entry for the specified entity on the specified object.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Returns the ACL entry for the specified entity on the specified object.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Creates a new ACL entry on the specified object.
Name of a bucket.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Retrieves ACL entries on the specified object.
Name of a bucket.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Patches an ACL entry on the specified object.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Updates an ACL entry on the specified object.
Name of a bucket.
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Initiates a long-running bulk restore operation on the specified bucket.
Name of the bucket in which the object resides.
Concatenates a list of existing objects into a new object in the same bucket.
Name of the bucket containing the source objects. The destination object is stored in this bucket.
Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Copies a source object to a destination object. Optionally overrides metadata.
Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.
Name of the bucket in which to find the source object.
Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used.
Name of the bucket in which the object resides.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Retrieves an object or its metadata.
Name of the bucket in which the object resides.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Returns an IAM policy for the specified object.
Name of the bucket in which the object resides.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Stores a new object and metadata.
Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.
Retrieves a list of objects matching the criteria.
Name of the bucket in which to look for objects.
Patches an object's metadata.
Name of the bucket in which the object resides.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Restores a soft-deleted object.
Name of the bucket in which the object resides.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Rewrites a source object to a destination object. Optionally overrides metadata.
Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.
Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Name of the bucket in which to find the source object.
Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Updates an IAM policy for the specified object.
Name of the bucket in which the object resides.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Tests a set of permissions on the given object to see which, if any, are held by the caller.
Name of the bucket in which the object resides.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Updates an object's metadata.
Name of the bucket in which the object resides.
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
Watch for changes on all objects in a bucket.
Name of the bucket in which to look for objects.
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed.
The parent bucket of the operation resource.
The ID of the operation resource.
Gets the latest state of a long-running operation.
The parent bucket of the operation resource.
The ID of the operation resource.
Lists operations that match the specified filter in the request.
Name of the bucket in which to look for operations.
Creates a new HMAC key for the specified service account.
Project ID owning the service account.
Deletes an HMAC key.
Name of the HMAC key to be deleted.
Project ID owning the requested key
Retrieves an HMAC key's metadata
Name of the HMAC key.
Project ID owning the service account of the requested key.
Retrieves a list of HMAC keys matching the criteria.
Name of the project in which to look for HMAC keys.
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.
Name of the HMAC key being updated.
Project ID owning the service account of the updated key.
Get the email address of this project's Google Cloud Storage service account.
Project ID