識別資訊對應項目,可將外部識別資訊對應至內部識別資訊。
| 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 |
使用者 ID。如果是 Google Workspace 使用者帳戶,userId 應為 Google Workspace 使用者電子郵件地址。如果是 Google 以外的識別資訊提供者,userId 是在 workforcepool 設定期間設定的對應使用者 ID。 |
groupId |
群組 ID。如果是 Google Workspace 使用者帳戶,groupId 應為 Google Workspace 群組電子郵件地址。如果不是 Google 識別資訊提供者,groupId 是在 workforcepool 設定期間設定的對應群組 ID。 |
| 互斥欄位的結尾。 | |