storage: add soft delete feature
JesseLovelace opened this issue · 0 comments
JesseLovelace commented
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