LifecycleRule
with a DeleteLifecycleAction
and a condition
LifecycleCondition.Builder.setNumberOfNewerVersions
instead.@Deprecated public static class BucketInfo.NumNewerVersionsDeleteRule extends BucketInfo.DeleteRule
BucketInfo.DeleteRule.Type
Constructor and Description |
---|
NumNewerVersionsDeleteRule(int numNewerVersions)
Deprecated.
Creates an
NumNewerVersionsDeleteRule object. |
Modifier and Type | Method and Description |
---|---|
int |
getNumNewerVersions()
Deprecated.
|
equals, getType, hashCode
public NumNewerVersionsDeleteRule(int numNewerVersions)
NumNewerVersionsDeleteRule
object.numNewerVersions
- the number of newer versions. A blob's version meets the delete
condition when numNewerVersions
newer versions are available.Copyright © 2019 Google LLC. All rights reserved.