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