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

使用者 ID。如果是 Google Workspace 使用者帳戶,userId 應為 Google Workspace 使用者電子郵件地址。如果是 Google 以外的識別資訊提供者,userId 是在 workforcepool 設定期間設定的對應使用者 ID。

groupId

string

群組 ID。如果是 Google Workspace 使用者帳戶,groupId 應為 Google Workspace 群組電子郵件地址。如果不是 Google 識別資訊提供者,groupId 是在 workforcepool 設定期間設定的對應群組 ID。