Skip to content

Commit 275f452

Browse files
authored
fix(docs): example of Storage#testIamPermissions (#434)
1 parent 05cbbda commit 275f452

File tree

1 file changed

+1
-1
lines changed
  • google-cloud-storage/src/main/java/com/google/cloud/storage

1 file changed

+1
-1
lines changed

google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3517,7 +3517,7 @@ HmacKeyMetadata updateHmacKeyState(
35173517
* String bucketName = "my-unique-bucket";
35183518
* List<Boolean> response =
35193519
* storage.testIamPermissions(
3520-
* bucket,
3520+
* bucketName,
35213521
* ImmutableList.of("storage.buckets.get", "storage.buckets.getIamPolicy"));
35223522
* for (boolean hasPermission : response) {
35233523
* // Do something with permission test response

0 commit comments

Comments
 (0)