User
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"displayName": string,
"kind": string,
"me": boolean,
"permissionId": string,
"emailAddress": string,
"photoLink": string
} |
欄位 |
displayName |
string
僅供輸出。這個使用者的純文字顯示名稱。
|
kind |
string
僅供輸出。表示資源的種類。值:固定字串 drive#user 。
|
me |
boolean
僅供輸出。這個使用者是否為提出要求的使用者。
|
permissionId |
string
僅供輸出。使用者 ID (如權限資源中所示)。
|
emailAddress |
string
僅供輸出。使用者的電子郵件地址。如果使用者未向要求者顯示電子郵件地址,某些情況下可能不會顯示這項資訊。
|
photoLink |
string
僅供輸出。使用者個人資料相片的連結 (如有)。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# User\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nInformation about a Drive user.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"displayName\": string, \"kind\": string, \"me\": boolean, \"permissionId\": string, \"emailAddress\": string, \"photoLink\": 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| `me` | `boolean` Output only. Whether this user is the requesting user. |\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| `photoLink` | `string` Output only. A link to the user's profile photo, if available. |"]]