IdentityMappingEntry

將外部身分對應至內部身分的識別資訊對應項目。

JSON 表示法
{
  "externalIdentity": string,
  "externalIdentityName": 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 個字元。

externalIdentityName

string

選用。外部身分名稱。

聯集欄位 identity_provider_id。聯集欄位 identity_provider_id。身分識別提供者 ID 可以是使用者或群組。identity_provider_id 只能是下列其中一個設定:
userId

string

使用者 ID。如果是 Google Workspace 使用者帳戶,userId 應為 Google Workspace 使用者電子郵件地址。如果是非 Google 識別資訊提供者,userId 是在工作團隊集區設定期間設定的對應使用者 ID。

groupId

string

群組 ID。如果是 Google Workspace 使用者帳戶,groupId 應為 Google Workspace 群組電子郵件地址。如果是非 Google 識別資訊提供者,groupId 則是在工作團隊集區設定期間設定的對應群組 ID。