用于将外部身份映射到内部身份的身份映射条目。
| JSON 表示法 |
|---|
{ "externalIdentity": string, "externalIdentityName": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "userId": string, "groupId": string // End of mutually exclusive fields. } |
| 字段 | |
|---|---|
externalIdentity |
必需。客户身份提供方外部的身份。外部身份的长度上限为 100 个字符。 |
externalIdentityName |
可选。外部身份的名称。 |
| 联合字段 identity_provider_id。身份提供方 ID 可以是用户或群组。以下是互斥字段的列表。在响应中,最多只能设置一个字段: | |
userId |
用户标识符。对于 Google Workspace 用户账号,userId 应该是 Google Workspace 用户邮箱。对于非 Google 身份提供方,userId 是在员工池配置期间配置的映射用户标识符。 |
groupId |
群组标识符。对于 Google Workspace 用户账号,groupId 应该是 Google Workspace 群组邮箱。对于非 Google 身份提供方,groupId 是在员工池配置期间配置的映射群组标识符。 |
| 互斥字段的结束位置。 | |