Stay organized with collectionsSave and categorize content based on your preferences.
Action
Information about the action.
JSON representation
{"detail":{object (ActionDetail)},"actor":{object (Actor)},"target":{object (Target)},// Union fieldtimecan be only one of the following:"timestamp":string,"timeRange":{object (TimeRange)}// End of list of possible types for union fieldtime.}
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:"2014-10-02T15:01:23Z","2014-10-02T15:01:23.045123456Z"or"2014-10-02T15:01:23+05:30".
[[["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,["# Action\n------\n\n\nInformation about the action.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"detail\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/actiondetail#ActionDetail) }, \"actor\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/actor#Actor) }, \"target\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/target#Target) }, // Union field `time` can be only one of the following: \"timestamp\": string, \"timeRange\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/timerange#TimeRange) } // End of list of possible types for union field `time`. } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `detail` | `object (`[ActionDetail](/workspace/drive/activity/v2/reference/rest/v2/activity/actiondetail#ActionDetail)`)` The type and detailed information about the action. |\n| `actor` | `object (`[Actor](/workspace/drive/activity/v2/reference/rest/v2/activity/actor#Actor)`)` The actor responsible for this action (or empty if all actors are responsible). |\n| `target` | `object (`[Target](/workspace/drive/activity/v2/reference/rest/v2/activity/target#Target)`)` The target this action affects (or empty if affecting all targets). This represents the state of the target immediately after this action occurred. |\n| Union field `time`. When the action occurred (or empty if same time as entire activity). `time` can be only one of the following: ||\n| `timestamp` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` The action occurred at this specific time. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `timeRange` | `object (`[TimeRange](/workspace/drive/activity/v2/reference/rest/v2/activity/timerange#TimeRange)`)` The action occurred over this time range. |"]]