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: implement soft delete feature #13575

Open
5 of 6 tasks
JesseLovelace opened this issue Feb 9, 2024 · 0 comments
Open
5 of 6 tasks

storage: implement soft delete feature #13575

JesseLovelace opened this issue Feb 9, 2024 · 0 comments
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

JesseLovelace commented Feb 9, 2024

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 the soft delete time and hard delete time metadata fields from a soft deleted object
  • Get a soft deleted object by doing an object get call with the soft deleted parameter set to true
  • 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

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

1 participant