Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
|
The retention policy for a bucket. More...
#include <google/cloud/storage/bucket_retention_policy.h>
Public Attributes | |
std::chrono::seconds | retention_period |
std::chrono::system_clock::time_point | effective_time |
bool | is_locked |
The retention policy for a bucket.
The Bucket Lock feature of Google Cloud Storage allows you to configure a data retention policy for a Cloud Storage bucket. This policy governs how long objects in the bucket must be retained. The feature also allows you to lock the data retention policy, permanently preventing the policy from from being reduced or removed.
std::chrono::system_clock::time_point google::cloud::storage::BucketRetentionPolicy::effective_time |
bool google::cloud::storage::BucketRetentionPolicy::is_locked |
std::chrono::seconds google::cloud::storage::BucketRetentionPolicy::retention_period |