Struct google_storage1::BucketLifecycleRuleAction[][src]

pub struct BucketLifecycleRuleAction {
    pub type_: Option<String>,
    pub storage_class: Option<String>,
}

The action to take.

This type is not used in any activity, and only used as part of another schema.

Fields

Type of the action. Currently, only Delete and SetStorageClass are supported.

Target storage class. Required iff the type of the action is SetStorageClass.

Trait Implementations

impl Default for BucketLifecycleRuleAction
[src]

Returns the "default value" for a type. Read more

impl Clone for BucketLifecycleRuleAction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BucketLifecycleRuleAction
[src]

Formats the value using the given formatter. Read more

impl NestedType for BucketLifecycleRuleAction
[src]

impl Part for BucketLifecycleRuleAction
[src]

Auto Trait Implementations