public static class BucketInfo.LifecycleRule extends Object implements Serializable
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
BucketInfo.LifecycleRule.DeleteLifecycleAction |
static class |
BucketInfo.LifecycleRule.LifecycleAction
Base class for the Action to take when a Lifecycle Condition is met.
|
static class |
BucketInfo.LifecycleRule.LifecycleCondition
Condition for a Lifecycle rule, specifies under what criteria an Action should be executed.
|
static class |
BucketInfo.LifecycleRule.SetStorageClassLifecycleAction |
| Constructor and Description |
|---|
LifecycleRule(BucketInfo.LifecycleRule.LifecycleAction action,
BucketInfo.LifecycleRule.LifecycleCondition condition) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BucketInfo.LifecycleRule.LifecycleAction |
getAction() |
BucketInfo.LifecycleRule.LifecycleCondition |
getCondition() |
int |
hashCode() |
String |
toString() |
public LifecycleRule(BucketInfo.LifecycleRule.LifecycleAction action, BucketInfo.LifecycleRule.LifecycleCondition condition)
public BucketInfo.LifecycleRule.LifecycleAction getAction()
public BucketInfo.LifecycleRule.LifecycleCondition getCondition()
Copyright © 2022 Google LLC. All rights reserved.