Class BucketInfo.LifecycleRule

java.lang.Object
com.google.cloud.storage.BucketInfo.LifecycleRule
All Implemented Interfaces:
Serializable
Enclosing class:
BucketInfo

public static class BucketInfo.LifecycleRule extends Object implements Serializable
Lifecycle rule for a bucket. Allows supported Actions, such as deleting and changing storage class, to be executed when certain Conditions are met.

Versions 1.50.0-1.111.2 of this library don’t support the CustomTimeBefore, DaysSinceCustomTime, DaysSinceNoncurrentTime and NoncurrentTimeBefore lifecycle conditions. To read GCS objects with those lifecycle conditions, update your Java client library to the latest version.

See Also: