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

Implement soft delete #1224

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

Implement soft delete #1224

JesseLovelace opened this issue Feb 9, 2024 · 0 comments · Fixed by #1229
Assignees
Labels
api: storage Issues related to the googleapis/python-storage API.

Comments

@JesseLovelace
Copy link
Contributor

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 googleapis/python-storage API. label Feb 9, 2024
@cojenco cojenco self-assigned this Feb 12, 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 googleapis/python-storage API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants