google-cloud-cpp icon indicating copy to clipboard operation
google-cloud-cpp copied to clipboard

storage: implement soft delete feature

Open JesseLovelace opened this issue 1 year ago • 0 comments

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

The operations we need are

  • [x] Set a soft delete policy on a new or existing bucket
  • [x] Get a bucket's soft delete policy
  • [x] Get the soft delete time and hard delete time metadata fields from a soft deleted object
  • [x] Get a soft deleted object by doing an object get call with the soft deleted parameter set to true
  • [x] 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 avatar Feb 09 '24 00:02 JesseLovelace