IdentityMappingEntry

用于将外部身份映射到内部身份的身份映射条目。

JSON 表示法
{
  "externalIdentity": string,

  // Union field identity_provider_id can be only one of the following:
  "userId": string,
  "groupId": string
  // End of list of possible types for union field identity_provider_id.
}
字段
externalIdentity

string

必需。客户身份提供方之外的身份。外部身份的长度上限为 100 个字符。

联合字段 identity_provider_id。联合字段 identity_provider_id。身份提供商 ID 可以是用户或群组。identity_provider_id 只能是下列其中一项:
userId

string

用户标识符。对于 Google Workspace 用户账号,userId 应该是 Google Workspace 用户电子邮件地址。对于非 Google 身份提供方,userId 是在员工池配置期间配置的映射用户标识符。

groupId

string

群组标识符。对于 Google Workspace 用户账号,groupId 应该是 Google Workspace 群组电子邮件地址。对于非 Google 身份提供方,groupId 是在 workforcepool 配置期间配置的映射群组标识符。