Google Cloud Storage C++ Client
1.42.0
A C++ Client Library for Google Cloud Storage
|
The retention policy for a bucket. More...
#include <google/cloud/storage/bucket_metadata.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.
Definition at line 398 of file bucket_metadata.h.
std::chrono::system_clock::time_point google::cloud::storage::BucketRetentionPolicy::effective_time |
Definition at line 400 of file bucket_metadata.h.
bool google::cloud::storage::BucketRetentionPolicy::is_locked |
Definition at line 401 of file bucket_metadata.h.
std::chrono::seconds google::cloud::storage::BucketRetentionPolicy::retention_period |
Definition at line 399 of file bucket_metadata.h.