Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 459
storage: add support for object retention #12994
Copy link
Copy link
Open
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.externalThis issue is blocked on a bug with the actual product.This issue is blocked on a bug with the actual product.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.externalThis issue is blocked on a bug with the actual product.This issue is blocked on a bug with the actual product.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Please implement the object retention feature. The following operations must be supported:
enableObjectRetentionbucket create boolean option at bucket create timeretentionobject at object create time (retention object has the fieldsmodewhich can be Unlocked or Locked, andretainUntilTimewhich is a timestamp)overrideUnlockedRetentionboolean patch optionSupport for gRPC is blocked as the protos are not published.
BucketObjectRetentionEnableObjectRetentionfor gRPC pluginObjectRetentionOverrideUnlockedRetentionfor gRPC pluginDetails in go/gcs-object-retention-client-request
You can use the java implementation as a reference.
The kokoro test project should be allowlisted shortly, let me know if you need access to an allowlisted project for your own testing.
We're aiming to get this in by the November code freeze, let me know if you need any help.