Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Class and Description |
---|---|
static class |
BucketInfo.AgeDeleteRule
Deprecated.
Use a
LifecycleRule with a DeleteLifecycleAction and use LifecycleCondition.Builder.setAge instead.
For example, |
static class |
BucketInfo.CreatedBeforeDeleteRule
Deprecated.
Use a
LifecycleRule with an action DeleteLifecycleAction and a
condition LifecycleCondition.Builder.setCreatedBefore instead. |
static class |
BucketInfo.IsLiveDeleteRule
Deprecated.
Use a
LifecycleRule with a DeleteLifecycleAction and a condition
LifecycleCondition.Builder.setIsLive instead. |
static class |
BucketInfo.NumNewerVersionsDeleteRule
Deprecated.
Use a
LifecycleRule with a DeleteLifecycleAction and a condition
LifecycleCondition.Builder.setNumberOfNewerVersions instead. |
Modifier and Type | Method and Description |
---|---|
List<? extends BucketInfo.DeleteRule> |
BucketInfo.getDeleteRules()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Bucket.Builder |
Bucket.Builder.setDeleteRules(Iterable<? extends BucketInfo.DeleteRule> rules)
Deprecated.
|
abstract BucketInfo.Builder |
BucketInfo.Builder.setDeleteRules(Iterable<? extends BucketInfo.DeleteRule> rules)
Deprecated.
Use
setLifecycleRules instead, as in setLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule(
LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build()))); |
Copyright © 2019 Google LLC. All rights reserved.