Skip to content

Commit 3c6cfe6

Browse files
committed
Update FakeStorageRpc with new IAM method names
1 parent 534e0bd commit 3c6cfe6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,17 +448,17 @@ private static boolean processedAsFolder(StorageObject so, String delimiter, Str
448448
}
449449

450450
@Override
451-
public Policy getPolicy(String bucket) {
451+
public Policy getIamPolicy(String bucket) {
452452
throw new UnsupportedOperationException();
453453
}
454454

455455
@Override
456-
public Policy updatePolicy(String bucket, Policy policy) {
456+
public Policy setIamPolicy(String bucket, Policy policy) {
457457
throw new UnsupportedOperationException();
458458
}
459459

460460
@Override
461-
public TestIamPermissionsResponse testPermissions(String bucket, List<String> permissions) {
461+
public TestIamPermissionsResponse testIamPermissions(String bucket, List<String> permissions) {
462462
throw new UnsupportedOperationException();
463463
}
464464
}

0 commit comments

Comments
 (0)