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 #9397

Closed
JesseLovelace opened this issue Feb 9, 2024 · 0 comments · Fixed by #9520
Closed

storage: implement soft delete #9397

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

@JesseLovelace JesseLovelace added the triage me I really want to be triaged. label Feb 9, 2024
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Feb 9, 2024
@tritone tritone added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. and removed triage me I really want to be triaged. labels Feb 9, 2024
@BrennaEpp BrennaEpp assigned BrennaEpp and unassigned tritone Feb 28, 2024
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

Successfully merging a pull request may close this issue.

3 participants