From 512f94b97fb776c0b33563bc25e954fe50bc3c82 Mon Sep 17 00:00:00 2001 From: Jay Carlton <53479492+jaycarlton@users.noreply.github.com> Date: Tue, 25 May 2021 08:44:37 -0400 Subject: [PATCH] delete lifecycle rules (#92) --- .../java/bio/terra/cloudres/google/storage/BucketCow.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/google-storage/src/main/java/bio/terra/cloudres/google/storage/BucketCow.java b/google-storage/src/main/java/bio/terra/cloudres/google/storage/BucketCow.java index 8aff701b..d5bb1954 100644 --- a/google-storage/src/main/java/bio/terra/cloudres/google/storage/BucketCow.java +++ b/google-storage/src/main/java/bio/terra/cloudres/google/storage/BucketCow.java @@ -105,6 +105,11 @@ public Builder setLifecycleRules(Iterable ru return this; } + public Builder deleteLifecycleRules() { + bucketBuilder.deleteLifecycleRules(); + return this; + } + public Builder setAcl(Iterable acl) { bucketBuilder.setAcl(acl); return this;