Skip to content

Commit afc6303

Browse files
Replace "member" with "principal" to fix failing test
1 parent 0e9619f commit afc6303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iam/cloud-client/snippets/modify_policy_add_member.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ def modify_policy_add_member(
5050
# Your Google Cloud project ID.
5151
project_id = "test-project-id"
5252
role = "roles/viewer"
53-
member = f"serviceAccount:test-service-account@{project_id}.iam.gserviceaccount.com"
53+
principal = f"serviceAccount:test-service-account@{project_id}.iam.gserviceaccount.com"
5454

5555
modify_policy_add_member(project_id, role, principal)

0 commit comments

Comments
 (0)