User
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"displayName": string,
"kind": string,
"isAuthenticatedUser": boolean,
"permissionId": string,
"emailAddress": string,
"picture": {
"url": string
}
} |
欄位 |
displayName |
string
僅供輸出。這個使用者的純文字顯示名稱。
|
kind |
string
僅供輸出。表示資源的種類。值:固定字串 drive#user 。
|
isAuthenticatedUser |
boolean
僅供輸出。這個使用者是否與提出要求時通過驗證的使用者相同。
|
permissionId |
string
僅供輸出。使用者 ID (如權限資源中所示)。
|
emailAddress |
string
僅供輸出。使用者的電子郵件地址。如果使用者未向要求者顯示電子郵件地址,某些情況下可能不會顯示這項資訊。
|
picture |
object
僅供輸出。使用者的個人資料相片。
|
picture.url |
string
僅供輸出。指向使用者個人資料相片的網址。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-24 (世界標準時間)。
[null,null,["上次更新時間:2025-07-24 (世界標準時間)。"],[],[],null,["# User\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nInformation about a Drive user.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"displayName\": string, \"kind\": string, \"isAuthenticatedUser\": boolean, \"permissionId\": string, \"emailAddress\": string, \"picture\": { \"url\": string } } ``` |\n\n| Fields ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `displayName` | `string` Output only. A plain text displayable name for this user. |\n| `kind` | `string` Output only. Identifies what kind of resource this is. Value: the fixed string `drive#user`. |\n| `isAuthenticatedUser` | `boolean` Output only. Whether this user is the same as the authenticated user for whom the request was made. |\n| `permissionId` | `string` Output only. The user's ID as visible in Permission resources. |\n| `emailAddress` | `string` Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. |\n| `picture` | `object` Output only. The user's profile picture. |\n| `picture.url` | `string` Output only. A URL that points to a profile picture of this user. |"]]