You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: branches/gcs-bucket-lock/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Blob.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -415,6 +415,12 @@ public Builder setEventBasedHold(Boolean eventBasedHold) {
Copy file name to clipboardExpand all lines: branches/gcs-bucket-lock/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/BlobInfo.java
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,7 @@ public StorageObject apply(BlobInfo blobInfo) {
86
86
privatefinalCustomerEncryptioncustomerEncryption;
87
87
privatefinalStringkmsKeyName;
88
88
privatefinalBooleaneventBasedHold;
89
+
privatefinalBooleantemporaryHold;
89
90
90
91
/**
91
92
* This class is meant for internal use only. Users are discouraged from using this class.
@@ -281,6 +282,10 @@ public abstract static class Builder {
Copy file name to clipboardExpand all lines: branches/gcs-bucket-lock/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java
Copy file name to clipboardExpand all lines: branches/gcs-bucket-lock/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/BlobInfoTest.java
Copy file name to clipboardExpand all lines: branches/gcs-bucket-lock/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/BlobTest.java
Copy file name to clipboardExpand all lines: branches/gcs-bucket-lock/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java
+37-5Lines changed: 37 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -223,18 +223,34 @@ public void testCreateDefaultEventBasedHoldBucket() throws ExecutionException, I
0 commit comments