Google Cloud Storage C++ Client  1.31.1
A C++ Client Library for Google Cloud Storage
Public Attributes | List of all members
google::cloud::storage::v1::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
 

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::v1::LifecycleRuleCondition::age

Definition at line 81 of file lifecycle_rule.h.

◆ created_before

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

Definition at line 82 of file lifecycle_rule.h.

◆ custom_time_before

absl::optional<absl::CivilDay> google::cloud::storage::v1::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::v1::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::v1::LifecycleRuleCondition::days_since_noncurrent_time

Definition at line 86 of file lifecycle_rule.h.

◆ is_live

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

Definition at line 83 of file lifecycle_rule.h.

◆ matches_storage_class

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

Definition at line 84 of file lifecycle_rule.h.

◆ noncurrent_time_before

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

Definition at line 87 of file lifecycle_rule.h.

◆ num_newer_versions

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

Definition at line 85 of file lifecycle_rule.h.