Skip to content

Commit 27079f4

Browse files
frankyngarrettjonesgoogle
authored andcommitted
[Storage] Bucket lock (#3574)
1 parent a9e1a99 commit 27079f4

File tree

1 file changed

+6
-0
lines changed
  • java-storage-nio/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/testing

1 file changed

+6
-0
lines changed

java-storage-nio/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/testing/FakeStorageRpc.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
* <li>createBatch
6666
* <li>checksums, etags
6767
* <li>IAM operations</li>
68+
* <li>BucketLock operations</li>
6869
* </ul>
6970
* </ul>
7071
*/
@@ -520,6 +521,11 @@ public Notification createNotification(String bucket, Notification notification)
520521
throw new UnsupportedOperationException();
521522
}
522523

524+
@Override
525+
public Bucket lockRetentionPolicy(Bucket bucket, Map<Option, ?> options) {
526+
throw new UnsupportedOperationException();
527+
}
528+
523529
@Override
524530
public ServiceAccount getServiceAccount(String projectId) {
525531
return null;

0 commit comments

Comments
 (0)