Skip to content

Commit 60e8bd3

Browse files
committed
minor refactor in name arg
1 parent 64704ae commit 60e8bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/src/main/java/DeleteApiKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static void deleteApiKey(String projectId, String apiKeyId)
5151

5252
// Initialize the delete request and set the argument.
5353
DeleteKeyRequest deleteKeyRequest = DeleteKeyRequest.newBuilder()
54-
.setName(String.format("project/%s/locations/global/keys/%s", projectId, apiKeyId))
54+
.setName(String.format("projects/%s/locations/global/keys/%s", projectId, apiKeyId))
5555
.build();
5656

5757
// Make the request and wait for the operation to complete.

0 commit comments

Comments
 (0)