Stay organized with collectionsSave and categorize content based on your preferences.
Actor
The actor of a Drive activity.
JSON representation
{// Union fieldtypecan be only one of the following:"user":{object (User)},"anonymous":{object (AnonymousUser)},"impersonation":{object (Impersonation)},"system":{object (SystemEvent)},"administrator":{object (Administrator)}// End of list of possible types for union fieldtype.}
Fields
Union fieldtype. The type of actor.typecan be only one of the following:
[[["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,["# Actor\n-----\n\n\nThe actor of a Drive activity.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `type` can be only one of the following: \"user\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/user#User) }, \"anonymous\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/anonymoususer#AnonymousUser) }, \"impersonation\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/impersonation#Impersonation) }, \"system\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/systemevent#SystemEvent) }, \"administrator\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/administrator#Administrator) } // End of list of possible types for union field `type`. } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `type`. The type of actor. `type` can be only one of the following: ||\n| `user` | `object (`[User](/workspace/drive/activity/v2/reference/rest/v2/activity/user#User)`)` An end user. |\n| `anonymous` | `object (`[AnonymousUser](/workspace/drive/activity/v2/reference/rest/v2/activity/anonymoususer#AnonymousUser)`)` An anonymous user. |\n| `impersonation` | `object (`[Impersonation](/workspace/drive/activity/v2/reference/rest/v2/activity/impersonation#Impersonation)`)` An account acting on behalf of another. |\n| `system` | `object (`[SystemEvent](/workspace/drive/activity/v2/reference/rest/v2/activity/systemevent#SystemEvent)`)` A non-user actor (i.e. system triggered). |\n| `administrator` | `object (`[Administrator](/workspace/drive/activity/v2/reference/rest/v2/activity/administrator#Administrator)`)` An administrator. |"]]