Stay organized with collectionsSave and categorize content based on your preferences.
User
Information about an end user.
JSON representation
{// Union fieldtypecan be only one of the following:"knownUser":{object (KnownUser)},"deletedUser":{object (DeletedUser)},"unknownUser":{object (UnknownUser)}// End of list of possible types for union fieldtype.}
Fields
Union fieldtype. The type of user, such as known, unknown, and deleted.typecan be only one of the following:
The identifier for this user that can be used with the People API to get more information. The format ispeople/ACCOUNT_ID. Seehttps://developers.google.com/people/.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-23 UTC."],[],[],null,["# User\n----\n\n\nInformation about an end user.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `type` can be only one of the following: \"knownUser\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/user#KnownUser) }, \"deletedUser\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/user#DeletedUser) }, \"unknownUser\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/user#UnknownUser) } // End of list of possible types for union field `type`. } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `type`. The type of user, such as known, unknown, and deleted. `type` can be only one of the following: ||\n| `knownUser` | `object (`[KnownUser](/workspace/drive/activity/v2/reference/rest/v2/activity/user#KnownUser)`)` A known user. |\n| `deletedUser` | `object (`[DeletedUser](/workspace/drive/activity/v2/reference/rest/v2/activity/user#DeletedUser)`)` A user whose account has since been deleted. |\n| `unknownUser` | `object (`[UnknownUser](/workspace/drive/activity/v2/reference/rest/v2/activity/user#UnknownUser)`)` A user about whom nothing is currently known. |\n\nKnownUser\n---------\n\n\nA known user.\n\n| JSON representation |\n|------------------------------------------------------------|\n| ``` { \"personName\": string, \"isCurrentUser\": boolean } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `personName` | `string` The identifier for this user that can be used with the People API to get more information. The format is `people/ACCOUNT_ID`. See \u003chttps://developers.google.com/people/\u003e. |\n| `isCurrentUser` | `boolean` True if this is the user making the request. |\n\nDeletedUser\n-----------\n\n\nThis type has no fields.\n\nA user whose account has since been deleted.\n\nUnknownUser\n-----------\n\n\nThis type has no fields.\n\nA user about whom nothing is currently known."]]