Package com.google.cloud.storage
Class BucketInfo.IsLiveDeleteRule
java.lang.Object
com.google.cloud.storage.BucketInfo.DeleteRule
com.google.cloud.storage.BucketInfo.IsLiveDeleteRule
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BucketInfo
Deprecated.
Delete rule class to distinguish between live and archived blobs.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.cloud.storage.BucketInfo.DeleteRule
BucketInfo.DeleteRule.Type -
Constructor Summary
ConstructorsConstructorDescriptionIsLiveDeleteRule(boolean isLive) Deprecated.Creates anIsLiveDeleteRuleobject. -
Method Summary
Methods inherited from class com.google.cloud.storage.BucketInfo.DeleteRule
equals, getType, hashCode
-
Constructor Details
-
IsLiveDeleteRule
public IsLiveDeleteRule(boolean isLive) Deprecated.Creates anIsLiveDeleteRuleobject.- Parameters:
isLive- if set totruelive blobs meet the delete condition. If set tofalsedelete condition is met by archived blobs.
-
-
Method Details
-
isLive
public boolean isLive()Deprecated.
-
LifecycleRulewith aDeleteLifecycleActionand a conditionLifecycleCondition.Builder.setIsLiveinstead.