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
ConstructorDescriptionIsLiveDeleteRule
(boolean isLive) Deprecated.Creates anIsLiveDeleteRule
object. -
Method Summary
Methods inherited from class com.google.cloud.storage.BucketInfo.DeleteRule
equals, getType, hashCode
-
Constructor Details
-
IsLiveDeleteRule
public IsLiveDeleteRule(boolean isLive) Deprecated.Creates anIsLiveDeleteRule
object.- Parameters:
isLive
- if set totrue
live blobs meet the delete condition. If set tofalse
delete condition is met by archived blobs.
-
-
Method Details
-
isLive
public boolean isLive()Deprecated.
-
LifecycleRule
with aDeleteLifecycleAction
and a conditionLifecycleCondition.Builder.setIsLive
instead.