Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Public Attributes | List of all members
google::cloud::storage::LifecycleRuleCondition Struct Reference

Implement a wrapper for Lifecycle Conditions. More...

#include <google/cloud/storage/lifecycle_rule.h>

Public Attributes

absl::optional< std::int32_t > age
 
absl::optional< absl::CivilDay > created_before
 
absl::optional< bool > is_live
 
absl::optional< std::vector< std::string > > matches_storage_class
 
absl::optional< std::int32_t > num_newer_versions
 
absl::optional< std::int32_t > days_since_noncurrent_time
 
absl::optional< absl::CivilDay > noncurrent_time_before
 
absl::optional< std::int32_t > days_since_custom_time
 
absl::optional< absl::CivilDay > custom_time_before
 
absl::optional< std::vector< std::string > > matches_prefix
 
absl::optional< std::vector< std::string > > matches_suffix
 

Detailed Description

Implement a wrapper for Lifecycle Conditions.

Definition at line 80 of file lifecycle_rule.h.

Member Data Documentation

◆ age

absl::optional<std::int32_t> google::cloud::storage::LifecycleRuleCondition::age

Definition at line 81 of file lifecycle_rule.h.

◆ created_before

absl::optional<absl::CivilDay> google::cloud::storage::LifecycleRuleCondition::created_before

Definition at line 82 of file lifecycle_rule.h.

◆ custom_time_before

absl::optional<absl::CivilDay> google::cloud::storage::LifecycleRuleCondition::custom_time_before

Definition at line 89 of file lifecycle_rule.h.

◆ days_since_custom_time

absl::optional<std::int32_t> google::cloud::storage::LifecycleRuleCondition::days_since_custom_time

Definition at line 88 of file lifecycle_rule.h.

◆ days_since_noncurrent_time

absl::optional<std::int32_t> google::cloud::storage::LifecycleRuleCondition::days_since_noncurrent_time

Definition at line 86 of file lifecycle_rule.h.

◆ is_live

absl::optional<bool> google::cloud::storage::LifecycleRuleCondition::is_live

Definition at line 83 of file lifecycle_rule.h.

◆ matches_prefix

absl::optional<std::vector<std::string> > google::cloud::storage::LifecycleRuleCondition::matches_prefix

Definition at line 90 of file lifecycle_rule.h.

◆ matches_storage_class

absl::optional<std::vector<std::string> > google::cloud::storage::LifecycleRuleCondition::matches_storage_class

Definition at line 84 of file lifecycle_rule.h.

◆ matches_suffix

absl::optional<std::vector<std::string> > google::cloud::storage::LifecycleRuleCondition::matches_suffix

Definition at line 91 of file lifecycle_rule.h.

◆ noncurrent_time_before

absl::optional<absl::CivilDay> google::cloud::storage::LifecycleRuleCondition::noncurrent_time_before

Definition at line 87 of file lifecycle_rule.h.

◆ num_newer_versions

absl::optional<std::int32_t> google::cloud::storage::LifecycleRuleCondition::num_newer_versions

Definition at line 85 of file lifecycle_rule.h.