Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: add soft delete feature #11699

Closed
JesseLovelace opened this issue Feb 9, 2024 · 1 comment
Closed

storage: add soft delete feature #11699

JesseLovelace opened this issue Feb 9, 2024 · 1 comment
Assignees
Labels
api: storage Issues related to the Cloud Storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@JesseLovelace
Copy link

Please implement the soft delete feature as specified in go/gcs-soft-delete-client-request

The operations we need are

  • Set a soft delete policy on a new or existing bucket
  • Get a bucket's soft delete policy
  • Get a soft deleted object by doing an object get call with the soft deleted parameter set to true
  • Get the soft delete time and hard delete time metadata fields from a soft deleted object
  • List soft deleted objects by doing an object list call with the soft deleted parameter set to true
  • Restore a soft deleted object

You can use the Java implementation as a reference

@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Feb 9, 2024
@amanda-tarafa amanda-tarafa self-assigned this Feb 9, 2024
@amanda-tarafa amanda-tarafa added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Feb 9, 2024
@amanda-tarafa
Copy link
Contributor

Closing as we've agreed to track this internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants