Stay organized with collectionsSave and categorize content based on your preferences.
TargetReference
A lightweight reference to the target of activity.
JSON representation
{"teamDrive":{object (TeamDriveReference)},// Union fieldobjectcan be only one of the following:"driveItem":{object (DriveItemReference)},"drive":{object (DriveReference)}// End of list of possible types for union fieldobject.}
[[["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,["# TargetReference\n---------------\n\n\nA lightweight reference to the target of activity.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"teamDrive\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/deprecated#TeamDriveReference) }, // Union field `object` can be only one of the following: \"driveItem\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/driveitemreference#DriveItemReference) }, \"drive\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/drivereference#DriveReference) } // End of list of possible types for union field `object`. } ``` |\n\n| Fields ||\n|----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `teamDrive ` ` `**(deprecated)** | `object (`[TeamDriveReference](/workspace/drive/activity/v2/reference/rest/v2/activity/deprecated#TeamDriveReference)`)` | This field is deprecated; please use the | `drive` | field instead. This field is deprecated; please use the `drive` field instead. |\n| Union field `object`. The type of target object. `object` can be only one of the following: ||\n| `driveItem` | `object (`[DriveItemReference](/workspace/drive/activity/v2/reference/rest/v2/activity/driveitemreference#DriveItemReference)`)` The target is a Drive item. |\n| `drive` | `object (`[DriveReference](/workspace/drive/activity/v2/reference/rest/v2/activity/drivereference#DriveReference)`)` The target is a shared drive. |"]]