Class and Description |
---|
com.google.cloud.storage.BucketInfo.AgeDeleteRule
Use a
LifecycleRule with a DeleteLifecycleAction and use LifecycleCondition.Builder.setAge instead.
For example, |
com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
Use a
LifecycleRule with an action DeleteLifecycleAction and a
condition LifecycleCondition.Builder.setCreatedBefore instead. |
com.google.cloud.storage.BucketInfo.DeleteRule
Use a
LifecycleRule with a DeleteLifecycleAction and a LifecycleCondition which is equivalent to a subclass of DeleteRule instead. |
com.google.cloud.storage.BucketInfo.IsLiveDeleteRule
Use a
LifecycleRule with a DeleteLifecycleAction and a condition
LifecycleCondition.Builder.setIsLive instead. |
com.google.cloud.storage.BucketInfo.NumNewerVersionsDeleteRule
Use a
LifecycleRule with a DeleteLifecycleAction and a condition
LifecycleCondition.Builder.setNumberOfNewerVersions instead. |
Method and Description |
---|
com.google.cloud.storage.Storage.create(BlobInfo, InputStream, Storage.BlobWriteOption...) |
com.google.cloud.storage.BucketInfo.getDeleteRules() |
com.google.cloud.storage.BucketInfo.Builder.setDeleteRules(Iterable<? extends BucketInfo.DeleteRule>)
Use
setLifecycleRules instead, as in setLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule(
LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build()))); |
com.google.cloud.storage.Bucket.Builder.setDeleteRules(Iterable<? extends BucketInfo.DeleteRule>) |
Copyright © 2019 Google LLC. All rights reserved.