Struct google_storage1::BucketLifecycleRuleCondition
[−]
[src]
pub struct BucketLifecycleRuleCondition { pub is_live: Option<bool>, pub num_newer_versions: Option<i32>, pub age: Option<i32>, pub created_before: Option<String>, }
The condition(s) under which the action will be taken.
This type is not used in any activity, and only used as part of another schema.
Fields
is_live: Option<bool>
Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
num_newer_versions: Option<i32>
Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
age: Option<i32>
Age of an object (in days). This condition is satisfied when an object reaches the specified age.
created_before: Option<String>
A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
Trait Implementations
impl Debug for BucketLifecycleRuleCondition
[src]
impl Clone for BucketLifecycleRuleCondition
[src]
fn clone(&self) -> BucketLifecycleRuleCondition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for BucketLifecycleRuleCondition
[src]
fn default() -> BucketLifecycleRuleCondition
Returns the "default value" for a type. Read more