File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
iam/cloud-client/snippets Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,13 @@ def modify_policy_remove_member(
2222 project_id : str , role : str , member : str
2323) -> policy_pb2 .Policy :
2424 """
25- Remove a member from certain role in project policy.
25+ Remove a principal from certain role in project policy.
2626
2727 project_id: ID or number of the Google Cloud project you want to use.
28- role: role to which member need to be added.
29- member: The principals requesting access.
30-
31- Possible format for member:
32- * user:{emailid}
33- * serviceAccount:{emailid}
34- * group:{emailid}
35- * deleted:user:{emailid}?uid={uniqueid}
36- * deleted:serviceAccount:{emailid}?uid={uniqueid}
37- * deleted:group:{emailid}?uid={uniqueid}
38- * domain:{domain}
28+ role: role to revoke.
29+ member: The principal to revoke access from.
30+
31+ For principal ID formats, see https://cloud.google.com/iam/docs/principal-identifiers
3932 """
4033 policy = get_project_policy (project_id )
4134
You can’t perform that action at this time.
0 commit comments