Skip to content

Commit 43cb711

Browse files
Specify member type (GoogleCloudPlatform#3602)
Saying "member:user@example.com" isn't helpful, since the prefix needs to be "user", "serviceAccount", or "group", not "member'" Since this is a quickstart, we should just pick one type and stick with that. "user" is a good way to demonstrate core functionality, so I picked that type. lesv: using ADMIN to push as the bug is somewhere else. See GoogleCloudPlatform#3605 for tracking issue
1 parent 5f65796 commit 43cb711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iam/api-client/src/main/java/iam/snippets/QuickstartV2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class QuickstartV2 {
3636
public static void main(String[] args) {
3737
// TODO: Replace with your project ID.
3838
String projectId = "your-project";
39-
// TODO: Replace with the ID of your member in the form "member:user@example.com"
39+
// TODO: Replace with the ID of your member in the form "user:member@example.com"
4040
String member = "your-member";
4141
// The role to be granted.
4242
String role = "roles/logging.logWriter";

0 commit comments

Comments
 (0)