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 public static class BucketInfo.IsLiveDeleteRule extends BucketInfo.DeleteRule
Deprecated.
Use a LifecycleRule with a DeleteLifecycleAction and a condition LifecycleCondition.Builder.setIsLive instead.
Delete rule class to distinguish between live and archived blobs.
See Also:
  • Constructor Details

    • IsLiveDeleteRule

      public IsLiveDeleteRule(boolean isLive)
      Deprecated.
      Creates an IsLiveDeleteRule object.
      Parameters:
      isLive - if set to true live blobs meet the delete condition. If set to false delete condition is met by archived blobs.
  • Method Details

    • isLive

      public boolean isLive()
      Deprecated.