blob: 30dd1f04970891554cb2145e664ab4ae6367994f [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="driveactivity_v2.html">Drive Activity API</a> . <a href="driveactivity_v2.activity.html">activity</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#query">query(body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Query past activity in Google Drive.</p>
83<p class="toc_element">
84 <code><a href="#query_next">query_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90</div>
91
92<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code class="details" id="query">query(body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094 <pre>Query past activity in Google Drive.
95
96Args:
Dan O'Mearadd494642020-05-01 07:42:23 -070097 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 The object takes the form of:
99
100{ # The request message for querying Drive activity.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700101 &quot;pageToken&quot;: &quot;A String&quot;, # The token identifying which page of results to return. Set this to the next_page_token value returned from a previous query to obtain the following page of results. If not set, the first page of results will be returned.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700102 &quot;filter&quot;: &quot;A String&quot;, # The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional &quot;AND&quot;, where each expression is of the form &quot;field operator value&quot;. Supported fields: - time: Uses numerical operators on date values either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. Examples: - time &gt; 1452409200000 AND time &lt;= 1492812924310 - time &gt;= &quot;2016-01-10T01:02:03-05:00&quot; - detail.action_detail_case: Uses the &quot;has&quot; operator (:) and either a singular value or a list of allowed action types enclosed in parentheses. Examples: - detail.action_detail_case: RENAME - detail.action_detail_case:(CREATE EDIT) - -detail.action_detail_case:MOVE
103 &quot;itemName&quot;: &quot;A String&quot;, # Return activities for this Drive item. The format is &quot;items/ITEM_ID&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700104 &quot;ancestorName&quot;: &quot;A String&quot;, # Return activities for this Drive folder and all children and descendants. The format is &quot;items/ITEM_ID&quot;.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700105 &quot;pageSize&quot;: 42, # The miminum number of activities desired in the response; the server will attempt to return at least this quanitity. The server may also return fewer activities if it has a partial response ready before the request times out. If not set, a default value is used.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700106 &quot;consolidationStrategy&quot;: { # How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related. # Details on how to consolidate related actions that make up the activity. If not set, then related actions are not consolidated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700107 &quot;none&quot;: { # A strategy which does no consolidation of individual activities. # The individual activities are not consolidated.
108 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109 &quot;legacy&quot;: { # A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action. # The individual activities are consolidated using the legacy strategy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700110 },
111 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700112 }
113
114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119Returns:
120 An object of the form:
121
122 { # Response message for querying Drive activity.
Bu Sun Kim65020912020-05-20 12:08:20 -0700123 &quot;activities&quot;: [ # List of activity requested.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700124 { # A single Drive activity comprising one or more Actions by one or more Actors on one or more Targets. Some Action groupings occur spontaneously, such as moving an item into a shared folder triggering a permission change. Other groupings of related Actions, such as multiple Actors editing one item or moving multiple files into a new folder, are controlled by the selection of a ConsolidationStrategy in the QueryDriveActivityRequest.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700125 &quot;primaryActionDetail&quot;: { # Data describing the type and additional information of an action. # Key information about the primary action for this activity. This is either representative, or the most important, of all actions in the activity, according to the ConsolidationStrategy in the request.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700126 &quot;delete&quot;: { # An object was deleted. # An object was deleted.
127 &quot;type&quot;: &quot;A String&quot;, # The type of delete action taken.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700129 &quot;comment&quot;: { # A change about comments on an object. # A change about comments was made.
130 &quot;suggestion&quot;: { # A suggestion. # A change on a suggestion.
131 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700132 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700133 &quot;post&quot;: { # A regular posted comment. # A change on a regular posted comment.
134 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
135 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700136 &quot;assignment&quot;: { # A comment with an assignment. # A change on an assignment.
137 &quot;assignedUser&quot;: { # Information about an end user. # The user to whom the comment was assigned.
138 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
139 },
140 &quot;knownUser&quot;: { # A known user. # A known user.
141 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
142 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
143 },
144 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
145 },
146 },
147 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
148 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700149 &quot;mentionedUsers&quot;: [ # Users who are mentioned in this comment.
150 { # Information about an end user.
151 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700152 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700153 &quot;knownUser&quot;: { # A known user. # A known user.
154 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
155 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700156 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700157 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
158 },
159 },
160 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700161 },
162 &quot;permissionChange&quot;: { # A change of the permission setting on an item. # The permission on an object was changed.
163 &quot;addedPermissions&quot;: [ # The set of permissions added by this change.
164 { # The permission setting of an object.
165 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
166 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
167 },
168 &quot;knownUser&quot;: { # A known user. # A known user.
169 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
170 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
171 },
172 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
173 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700174 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700175 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
176 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
177 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700178 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700179 &quot;role&quot;: &quot;A String&quot;, # Indicates the Google Drive permissions role. The role determines a user&#x27;s ability to read, write, and comment on items.
180 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
181 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
182 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
183 },
184 &quot;allowDiscovery&quot;: True or False, # If true, the item can be discovered (e.g. in the user&#x27;s &quot;Shared with me&quot; collection) without needing a link to the item.
185 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700186 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700187 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700188 ],
189 &quot;removedPermissions&quot;: [ # The set of permissions removed by this change.
190 { # The permission setting of an object.
191 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
192 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
193 },
194 &quot;knownUser&quot;: { # A known user. # A known user.
195 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
196 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
197 },
198 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
199 },
200 },
201 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
202 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
203 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
204 },
205 &quot;role&quot;: &quot;A String&quot;, # Indicates the Google Drive permissions role. The role determines a user&#x27;s ability to read, write, and comment on items.
206 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
207 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
208 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
209 },
210 &quot;allowDiscovery&quot;: True or False, # If true, the item can be discovered (e.g. in the user&#x27;s &quot;Shared with me&quot; collection) without needing a link to the item.
211 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
212 },
213 },
214 ],
215 },
216 &quot;rename&quot;: { # An object was renamed. # An object was renamed.
217 &quot;newTitle&quot;: &quot;A String&quot;, # The new title of the drive object.
218 &quot;oldTitle&quot;: &quot;A String&quot;, # The previous title of the drive object.
219 },
220 &quot;edit&quot;: { # An empty message indicating an object was edited. # An object was edited.
221 },
222 &quot;settingsChange&quot;: { # Information about settings changes. # Settings were changed.
223 &quot;restrictionChanges&quot;: [ # The set of changes made to restrictions.
224 { # Information about restriction policy changes to a feature.
225 &quot;feature&quot;: &quot;A String&quot;, # The feature which had a change in restriction policy.
226 &quot;newRestriction&quot;: &quot;A String&quot;, # The restriction in place after the change.
227 },
228 ],
229 },
230 &quot;dlpChange&quot;: { # A change in the object&#x27;s data leak prevention status. # A change happened in data leak prevention status.
231 &quot;type&quot;: &quot;A String&quot;, # The type of Data Leak Prevention (DLP) change.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700232 },
233 &quot;restore&quot;: { # A deleted object was restored. # A deleted object was restored.
234 &quot;type&quot;: &quot;A String&quot;, # The type of restore action taken.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700235 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700236 &quot;reference&quot;: { # Activity in applications other than Drive. # An object was referenced in an application outside of Drive/Docs.
237 &quot;type&quot;: &quot;A String&quot;, # The reference type corresponding to this event.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700238 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700239 &quot;move&quot;: { # An object was moved. # An object was moved.
240 &quot;addedParents&quot;: [ # The added parent object(s).
241 { # A lightweight reference to the target of activity.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700242 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
243 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
244 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
245 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700246 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700247 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
248 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700249 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700250 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700251 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700252 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700253 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700254 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
255 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
256 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
257 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
258 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700259 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700260 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700261 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700262 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700263 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700264 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700265 ],
266 &quot;removedParents&quot;: [ # The removed parent object(s).
267 { # A lightweight reference to the target of activity.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700268 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
269 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
270 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
271 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700272 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700273 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
274 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700275 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
276 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700277 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700278 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
279 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700280 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
281 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
282 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
283 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
284 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700285 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700286 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700287 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700288 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700289 },
290 },
291 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700292 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700293 &quot;create&quot;: { # An object was created. # An object was created.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700294 &quot;copy&quot;: { # An object was created by copying an existing object. # If present, indicates the object was created by copying an existing Drive object.
295 &quot;originalObject&quot;: { # A lightweight reference to the target of activity. # The the original object.
296 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
297 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
298 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
299 },
300 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
301 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
302 },
303 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
304 },
305 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
306 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
307 },
308 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
309 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
310 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
311 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
312 },
313 },
314 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
315 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
316 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
317 },
318 },
319 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700320 &quot;upload&quot;: { # An object was uploaded into Drive. # If present, indicates the object originated externally and was uploaded to Drive.
321 },
322 &quot;new&quot;: { # An object was created from scratch. # If present, indicates the object was newly created (e.g. as a blank document), not derived from a Drive object or external object.
323 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700324 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700325 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700326 &quot;timestamp&quot;: &quot;A String&quot;, # The activity occurred at this specific time.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700327 &quot;timeRange&quot;: { # Information about time ranges. # The activity occurred over this time range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700328 &quot;startTime&quot;: &quot;A String&quot;, # The start of the time range.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700329 &quot;endTime&quot;: &quot;A String&quot;, # The end of the time range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700330 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700331 &quot;targets&quot;: [ # All Google Drive objects this activity is about (e.g. file, folder, drive). This represents the state of the target immediately after the actions occurred.
332 { # Information about the target of activity.
333 &quot;drive&quot;: { # Information about a shared drive. # The target is a shared drive.
334 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
335 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
336 &quot;root&quot;: { # A Drive item, such as a file or folder. # The root of this shared drive.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700337 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700338 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
339 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700340 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700341 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700342 },
343 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
344 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
345 },
346 &quot;knownUser&quot;: { # A known user. # A known user.
347 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
348 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
349 },
350 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
351 },
352 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700353 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700354 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700355 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700356 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700357 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
358 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
359 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
360 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700361 },
362 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
363 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
364 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700365 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
366 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
367 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
368 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
369 },
370 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
371 },
372 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
373 },
374 },
375 },
376 &quot;driveItem&quot;: { # A Drive item, such as a file or folder. # The target is a Drive item.
377 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
378 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
379 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
380 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
381 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
382 },
383 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
384 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
385 },
386 &quot;knownUser&quot;: { # A known user. # A known user.
387 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
388 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
389 },
390 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
391 },
392 },
393 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
394 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
395 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
396 },
397 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
398 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
399 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
400 },
401 },
402 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
403 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
404 },
405 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
406 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
407 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
408 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
409 },
410 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
411 },
412 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
413 },
414 },
415 &quot;teamDrive&quot;: { # This item is deprecated; please see `Drive` instead. # This field is deprecated; please use the `drive` field instead.
416 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.title` instead.
417 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.name` instead.
418 &quot;root&quot;: { # A Drive item, such as a file or folder. # This field is deprecated; please see `Drive.root` instead.
419 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
420 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
421 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
422 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
423 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
424 },
425 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
426 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
427 },
428 &quot;knownUser&quot;: { # A known user. # A known user.
429 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
430 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
431 },
432 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
433 },
434 },
435 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
436 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
437 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
438 },
439 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
440 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
441 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
442 },
443 },
444 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
445 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
446 },
447 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
448 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
449 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
450 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
451 },
452 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
453 },
454 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
455 },
456 },
457 },
458 &quot;fileComment&quot;: { # A comment on a file. # The target is a comment on a Drive file.
459 &quot;legacyCommentId&quot;: &quot;A String&quot;, # The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/drive/v3/reference/comments/get
460 &quot;legacyDiscussionId&quot;: &quot;A String&quot;, # The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/drive/v3/reference/comments/get
461 &quot;linkToDiscussion&quot;: &quot;A String&quot;, # The link to the discussion thread containing this comment, for example, &quot;https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID&quot;.
462 &quot;parent&quot;: { # A Drive item, such as a file or folder. # The Drive item containing this comment.
463 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
464 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
465 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
466 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
467 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
468 },
469 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
470 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
471 },
472 &quot;knownUser&quot;: { # A known user. # A known user.
473 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
474 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
475 },
476 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
477 },
478 },
479 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
480 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
481 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
482 },
483 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
484 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
485 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
486 },
487 },
488 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
489 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
490 },
491 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
492 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
493 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
494 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
495 },
496 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
497 },
498 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
499 },
500 },
501 },
502 },
503 ],
504 &quot;actors&quot;: [ # All actor(s) responsible for the activity.
505 { # The actor of a Drive activity.
506 &quot;impersonation&quot;: { # Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available. # An account acting on behalf of another.
507 &quot;impersonatedUser&quot;: { # Information about an end user. # The impersonated user.
508 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
509 },
510 &quot;knownUser&quot;: { # A known user. # A known user.
511 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
512 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
513 },
514 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
515 },
516 },
517 },
518 &quot;system&quot;: { # Event triggered by system operations instead of end users. # A non-user actor (i.e. system triggered).
519 &quot;type&quot;: &quot;A String&quot;, # The type of the system event that may triggered activity.
520 },
521 &quot;anonymous&quot;: { # Empty message representing an anonymous user or indicating the authenticated user should be anonymized. # An anonymous user.
522 },
523 &quot;user&quot;: { # Information about an end user. # An end user.
524 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
525 },
526 &quot;knownUser&quot;: { # A known user. # A known user.
527 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
528 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
529 },
530 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
531 },
532 },
533 &quot;administrator&quot;: { # Empty message representing an administrator. # An administrator.
534 },
535 },
536 ],
537 &quot;actions&quot;: [ # Details on all actions in this activity.
538 { # Information about the action.
539 &quot;timeRange&quot;: { # Information about time ranges. # The action occurred over this time range.
540 &quot;startTime&quot;: &quot;A String&quot;, # The start of the time range.
541 &quot;endTime&quot;: &quot;A String&quot;, # The end of the time range.
542 },
543 &quot;target&quot;: { # Information about the target of activity. # The target this action affects (or empty if affecting all targets). This represents the state of the target immediately after this action occurred.
544 &quot;drive&quot;: { # Information about a shared drive. # The target is a shared drive.
545 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
546 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
547 &quot;root&quot;: { # A Drive item, such as a file or folder. # The root of this shared drive.
548 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
549 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
550 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
551 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
552 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
553 },
554 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
555 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
556 },
557 &quot;knownUser&quot;: { # A known user. # A known user.
558 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
559 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
560 },
561 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
562 },
563 },
564 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
565 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
566 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
567 },
568 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
569 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
570 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
571 },
572 },
573 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
574 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
575 },
576 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
577 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
578 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
579 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
580 },
581 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
582 },
583 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
584 },
585 },
586 },
587 &quot;driveItem&quot;: { # A Drive item, such as a file or folder. # The target is a Drive item.
588 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
589 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
590 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
591 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
592 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
593 },
594 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
595 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
596 },
597 &quot;knownUser&quot;: { # A known user. # A known user.
598 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
599 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
600 },
601 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
602 },
603 },
604 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
605 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
606 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
607 },
608 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
609 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
610 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
611 },
612 },
613 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
614 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
615 },
616 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
617 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
618 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
619 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
620 },
621 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
622 },
623 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
624 },
625 },
626 &quot;teamDrive&quot;: { # This item is deprecated; please see `Drive` instead. # This field is deprecated; please use the `drive` field instead.
627 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.title` instead.
628 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.name` instead.
629 &quot;root&quot;: { # A Drive item, such as a file or folder. # This field is deprecated; please see `Drive.root` instead.
630 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
631 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
632 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
633 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
634 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
635 },
636 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
637 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
638 },
639 &quot;knownUser&quot;: { # A known user. # A known user.
640 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
641 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
642 },
643 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
644 },
645 },
646 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
647 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
648 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
649 },
650 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
651 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
652 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
653 },
654 },
655 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
656 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
657 },
658 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
659 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
660 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
661 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
662 },
663 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
664 },
665 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
666 },
667 },
668 },
669 &quot;fileComment&quot;: { # A comment on a file. # The target is a comment on a Drive file.
670 &quot;legacyCommentId&quot;: &quot;A String&quot;, # The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/drive/v3/reference/comments/get
671 &quot;legacyDiscussionId&quot;: &quot;A String&quot;, # The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/drive/v3/reference/comments/get
672 &quot;linkToDiscussion&quot;: &quot;A String&quot;, # The link to the discussion thread containing this comment, for example, &quot;https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID&quot;.
673 &quot;parent&quot;: { # A Drive item, such as a file or folder. # The Drive item containing this comment.
674 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
675 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
676 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
677 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
678 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
679 },
680 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
681 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
682 },
683 &quot;knownUser&quot;: { # A known user. # A known user.
684 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
685 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
686 },
687 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
688 },
689 },
690 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
691 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
692 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
693 },
694 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
695 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
696 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
697 },
698 },
699 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
700 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
701 },
702 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
703 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
704 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
705 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
706 },
707 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
708 },
709 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
710 },
711 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700712 },
713 },
714 &quot;detail&quot;: { # Data describing the type and additional information of an action. # The type and detailed information about the action.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700715 &quot;delete&quot;: { # An object was deleted. # An object was deleted.
716 &quot;type&quot;: &quot;A String&quot;, # The type of delete action taken.
717 },
718 &quot;comment&quot;: { # A change about comments on an object. # A change about comments was made.
719 &quot;suggestion&quot;: { # A suggestion. # A change on a suggestion.
720 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
721 },
722 &quot;post&quot;: { # A regular posted comment. # A change on a regular posted comment.
723 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
724 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700725 &quot;assignment&quot;: { # A comment with an assignment. # A change on an assignment.
726 &quot;assignedUser&quot;: { # Information about an end user. # The user to whom the comment was assigned.
727 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
728 },
729 &quot;knownUser&quot;: { # A known user. # A known user.
730 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
731 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
732 },
733 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
734 },
735 },
736 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
737 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700738 &quot;mentionedUsers&quot;: [ # Users who are mentioned in this comment.
739 { # Information about an end user.
740 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
741 },
742 &quot;knownUser&quot;: { # A known user. # A known user.
743 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
744 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
745 },
746 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
747 },
748 },
749 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700750 },
751 &quot;permissionChange&quot;: { # A change of the permission setting on an item. # The permission on an object was changed.
752 &quot;addedPermissions&quot;: [ # The set of permissions added by this change.
753 { # The permission setting of an object.
754 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
755 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
756 },
757 &quot;knownUser&quot;: { # A known user. # A known user.
758 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
759 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
760 },
761 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
762 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700763 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700764 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
765 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
766 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700767 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700768 &quot;role&quot;: &quot;A String&quot;, # Indicates the Google Drive permissions role. The role determines a user&#x27;s ability to read, write, and comment on items.
769 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
770 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
771 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
772 },
773 &quot;allowDiscovery&quot;: True or False, # If true, the item can be discovered (e.g. in the user&#x27;s &quot;Shared with me&quot; collection) without needing a link to the item.
774 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700775 },
776 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700777 ],
778 &quot;removedPermissions&quot;: [ # The set of permissions removed by this change.
779 { # The permission setting of an object.
780 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
781 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
782 },
783 &quot;knownUser&quot;: { # A known user. # A known user.
784 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
785 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
786 },
787 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
788 },
789 },
790 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
791 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
792 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
793 },
794 &quot;role&quot;: &quot;A String&quot;, # Indicates the Google Drive permissions role. The role determines a user&#x27;s ability to read, write, and comment on items.
795 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
796 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
797 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
798 },
799 &quot;allowDiscovery&quot;: True or False, # If true, the item can be discovered (e.g. in the user&#x27;s &quot;Shared with me&quot; collection) without needing a link to the item.
800 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
801 },
802 },
803 ],
804 },
805 &quot;rename&quot;: { # An object was renamed. # An object was renamed.
806 &quot;newTitle&quot;: &quot;A String&quot;, # The new title of the drive object.
807 &quot;oldTitle&quot;: &quot;A String&quot;, # The previous title of the drive object.
808 },
809 &quot;edit&quot;: { # An empty message indicating an object was edited. # An object was edited.
810 },
811 &quot;settingsChange&quot;: { # Information about settings changes. # Settings were changed.
812 &quot;restrictionChanges&quot;: [ # The set of changes made to restrictions.
813 { # Information about restriction policy changes to a feature.
814 &quot;feature&quot;: &quot;A String&quot;, # The feature which had a change in restriction policy.
815 &quot;newRestriction&quot;: &quot;A String&quot;, # The restriction in place after the change.
816 },
817 ],
818 },
819 &quot;dlpChange&quot;: { # A change in the object&#x27;s data leak prevention status. # A change happened in data leak prevention status.
820 &quot;type&quot;: &quot;A String&quot;, # The type of Data Leak Prevention (DLP) change.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700821 },
822 &quot;restore&quot;: { # A deleted object was restored. # A deleted object was restored.
823 &quot;type&quot;: &quot;A String&quot;, # The type of restore action taken.
824 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700825 &quot;reference&quot;: { # Activity in applications other than Drive. # An object was referenced in an application outside of Drive/Docs.
826 &quot;type&quot;: &quot;A String&quot;, # The reference type corresponding to this event.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700827 },
828 &quot;move&quot;: { # An object was moved. # An object was moved.
829 &quot;addedParents&quot;: [ # The added parent object(s).
830 { # A lightweight reference to the target of activity.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700831 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
832 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
833 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
834 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700835 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
836 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
837 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700838 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
839 },
840 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
841 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
842 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700843 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
844 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
845 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
846 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
847 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700848 },
849 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700850 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700851 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700852 },
853 },
854 ],
855 &quot;removedParents&quot;: [ # The removed parent object(s).
856 { # A lightweight reference to the target of activity.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700857 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
858 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
859 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
860 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700861 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
862 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
863 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700864 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
865 },
866 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
867 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
868 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700869 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
870 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
871 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
872 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
873 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700874 },
875 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700876 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700877 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700878 },
879 },
880 ],
881 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700882 &quot;create&quot;: { # An object was created. # An object was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700883 &quot;copy&quot;: { # An object was created by copying an existing object. # If present, indicates the object was created by copying an existing Drive object.
884 &quot;originalObject&quot;: { # A lightweight reference to the target of activity. # The the original object.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700885 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
886 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
887 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection ID for this resource name.
888 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700889 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
890 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
891 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700892 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
893 },
894 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
895 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
896 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700897 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
898 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
899 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
900 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
901 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700902 },
903 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700904 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700905 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700906 },
907 },
908 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700909 &quot;upload&quot;: { # An object was uploaded into Drive. # If present, indicates the object originated externally and was uploaded to Drive.
910 },
911 &quot;new&quot;: { # An object was created from scratch. # If present, indicates the object was newly created (e.g. as a blank document), not derived from a Drive object or external object.
912 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700913 },
914 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700915 &quot;actor&quot;: { # The actor of a Drive activity. # The actor responsible for this action (or empty if all actors are responsible).
916 &quot;impersonation&quot;: { # Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available. # An account acting on behalf of another.
917 &quot;impersonatedUser&quot;: { # Information about an end user. # The impersonated user.
918 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
919 },
920 &quot;knownUser&quot;: { # A known user. # A known user.
921 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
922 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
923 },
924 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
925 },
926 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700927 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700928 &quot;system&quot;: { # Event triggered by system operations instead of end users. # A non-user actor (i.e. system triggered).
929 &quot;type&quot;: &quot;A String&quot;, # The type of the system event that may triggered activity.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700930 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700931 &quot;anonymous&quot;: { # Empty message representing an anonymous user or indicating the authenticated user should be anonymized. # An anonymous user.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700932 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700933 &quot;user&quot;: { # Information about an end user. # An end user.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700934 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
935 },
936 &quot;knownUser&quot;: { # A known user. # A known user.
937 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
938 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get more information. The format is &quot;people/ACCOUNT_ID&quot;. See https://developers.google.com/people/.
939 },
940 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
941 },
942 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700943 &quot;administrator&quot;: { # Empty message representing an administrator. # An administrator.
944 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700945 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700946 &quot;timestamp&quot;: &quot;A String&quot;, # The action occurred at this specific time.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700947 },
948 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700949 },
950 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700951 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700952 }</pre>
953</div>
954
955<div class="method">
956 <code class="details" id="query_next">query_next(previous_request, previous_response)</code>
957 <pre>Retrieves the next page of results.
958
959Args:
960 previous_request: The request for the previous page. (required)
961 previous_response: The response from the request for the previous page. (required)
962
963Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700964 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700965 page. Returns None if there are no more items in the collection.
966 </pre>
967</div>
968
969</body></html>