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
仅限输出。指向用户个人资料照片的链接(如果有)。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]