REST Resource: organizations.userGroups.members

资源:UserGroupMember

一种资源消息,表示用户组的成员。

JSON 表示法
{
  "name": string,
  "membershipRole": enum (MembershipRole),

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "userEmail": string,
  "userGroup": string
  // End of mutually exclusive fields.
}
字段
name

string

标识符。相应 UserGroupMember 的资源名称。

格式:organizations/{org_id}/userGroups/{user_group_id}/members/{member_id} 示例:“organizations/123abc/userGroups/456def/members/789ghi”

membershipRole

enum (MembershipRole)

可选。相应成员在用户组中的角色。

用户组的成员。以下是互斥字段的列表。在响应中,最多只能设置一个字段:
userEmail

string

用户成员的电子邮件地址。

userGroup

string

群组成员的用户组资源名称。

互斥字段的结束位置。

MembershipRole

相应成员在用户组中的角色。

枚举
MEMBERSHIP_ROLE_UNSPECIFIED 未指定的会员角色。
MEMBERSHIP_ROLE_OWNER 可以添加和移除群组成员的所有者角色。
MEMBERSHIP_ROLE_MEMBER 可获得分配给该群组的所有权限的成员角色。

方法

create

将成员添加到指定的 GMP 用户组。

delete

删除指定 GMP 用户组中的成员。

get

查找单个用户组成员。

list

返回指定用户组中的成员列表。

patch

更新指定 GMP 用户组中的成员。