blob: 2689ba98b6fa7cce005546e10c03f15ec30bdba6 [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">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#query">query(body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Query past activity in Google Drive.</p>
80<p class="toc_element">
81 <code><a href="#query_next">query_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<h3>Method Details</h3>
84<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070085 <code class="details" id="query">query(body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086 <pre>Query past activity in Google Drive.
87
88Args:
Dan O'Mearadd494642020-05-01 07:42:23 -070089 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070090 The object takes the form of:
91
92{ # The request message for querying Drive activity.
Bu Sun Kim65020912020-05-20 12:08:20 -070093 &quot;pageSize&quot;: 42, # The miminum number of activities desired in the response; the server will
Dan O'Mearadd494642020-05-01 07:42:23 -070094 # attempt to return at least this quanitity. The server may also return fewer
95 # activities if it has a partial response ready before the request times out.
96 # If not set, a default value is used.
Bu Sun Kim65020912020-05-20 12:08:20 -070097 &quot;filter&quot;: &quot;A String&quot;, # The filtering for items returned from this query request. The format of the
98 # filter string is a sequence of expressions, joined by an optional &quot;AND&quot;,
99 # where each expression is of the form &quot;field operator value&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100 #
101 # Supported fields:
102 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700103 # - &lt;tt&gt;time&lt;/tt&gt;: Uses numerical operators on date values either in
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700104 # terms of milliseconds since Jan 1, 1970 or in RFC 3339 format.
105 # Examples:
Dan O'Mearadd494642020-05-01 07:42:23 -0700106 # - &lt;tt&gt;time &gt; 1452409200000 AND time &lt;= 1492812924310&lt;/tt&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -0700107 # - &lt;tt&gt;time &gt;= &quot;2016-01-10T01:02:03-05:00&quot;&lt;/tt&gt;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700109 # - &lt;tt&gt;detail.action_detail_case&lt;/tt&gt;: Uses the &quot;has&quot; operator (:) and
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110 # either a singular value or a list of allowed action types enclosed in
111 # parentheses.
112 # Examples:
Dan O'Mearadd494642020-05-01 07:42:23 -0700113 # - &lt;tt&gt;detail.action_detail_case: RENAME&lt;/tt&gt;
114 # - &lt;tt&gt;detail.action_detail_case:(CREATE EDIT)&lt;/tt&gt;
115 # - &lt;tt&gt;-detail.action_detail_case:MOVE&lt;/tt&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -0700116 &quot;ancestorName&quot;: &quot;A String&quot;, # Return activities for this Drive folder and all children and descendants.
117 # The format is &quot;items/ITEM_ID&quot;.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700118 &quot;itemName&quot;: &quot;A String&quot;, # Return activities for this Drive item. The format is
119 # &quot;items/ITEM_ID&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 &quot;pageToken&quot;: &quot;A String&quot;, # The token identifying which page of results to return. Set this to the
Dan O'Mearadd494642020-05-01 07:42:23 -0700121 # next_page_token value returned from a previous query to obtain the
122 # following page of results. If not set, the first page of results will be
123 # returned.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700124 &quot;consolidationStrategy&quot;: { # How the individual activities are consolidated. A set of activities may be # Details on how to consolidate related actions that make up the activity. If
125 # not set, then related actions are not consolidated.
126 # consolidated into one combined activity if they are related in some way, such
127 # as one actor performing the same action on multiple targets, or multiple
128 # actors performing the same action on a single target. The strategy defines
129 # the rules for which activities are related.
130 &quot;legacy&quot;: { # A strategy which consolidates activities using the grouping rules from the # The individual activities are consolidated using the legacy strategy.
131 # legacy V1 Activity API. Similar actions occurring within a window of time
132 # can be grouped across multiple targets (such as moving a set of files at
133 # once) or multiple actors (such as several users editing the same item).
134 # Grouping rules for this strategy are specific to each type of action.
135 },
136 &quot;none&quot;: { # A strategy which does no consolidation of individual activities. # The individual activities are not consolidated.
137 },
138 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700139 }
140
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146Returns:
147 An object of the form:
148
149 { # Response message for querying Drive activity.
Bu Sun Kim65020912020-05-20 12:08:20 -0700150 &quot;activities&quot;: [ # List of activity requested.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700151 { # A single Drive activity comprising one or more Actions by one or more
152 # Actors on one or more Targets. Some Action groupings occur spontaneously,
153 # such as moving an item into a shared folder triggering a permission change.
154 # Other groupings of related Actions, such as multiple Actors editing one item
155 # or moving multiple files into a new folder, are controlled by the selection
156 # of a ConsolidationStrategy in the QueryDriveActivityRequest.
Bu Sun Kim65020912020-05-20 12:08:20 -0700157 &quot;timeRange&quot;: { # Information about time ranges. # The activity occurred over this time range.
Bu Sun Kim65020912020-05-20 12:08:20 -0700158 &quot;startTime&quot;: &quot;A String&quot;, # The start of the time range.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700159 &quot;endTime&quot;: &quot;A String&quot;, # The end of the time range.
Bu Sun Kim65020912020-05-20 12:08:20 -0700160 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 &quot;actions&quot;: [ # Details on all actions in this activity.
162 { # Information about the action.
Bu Sun Kim65020912020-05-20 12:08:20 -0700163 &quot;detail&quot;: { # Data describing the type and additional information of an action. # The type and detailed information about the action.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700164 &quot;rename&quot;: { # An object was renamed. # An object was renamed.
165 &quot;newTitle&quot;: &quot;A String&quot;, # The new title of the drive object.
166 &quot;oldTitle&quot;: &quot;A String&quot;, # The previous title of the drive object.
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700168 &quot;move&quot;: { # An object was moved. # An object was moved.
169 &quot;removedParents&quot;: [ # The removed parent object(s).
170 { # A lightweight reference to the target of activity.
171 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
172 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
173 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
174 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700176 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
177 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
Bu Sun Kim65020912020-05-20 12:08:20 -0700178 },
179 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
180 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
181 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700182 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
183 # folder.
184 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
Bu Sun Kim65020912020-05-20 12:08:20 -0700185 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
187 },
188 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
189 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
191 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
192 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
193 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
194 # ID for this resource name.
195 },
196 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700197 ],
198 &quot;addedParents&quot;: [ # The added parent object(s).
199 { # A lightweight reference to the target of activity.
200 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
201 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
202 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
203 },
204 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
205 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
206 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
207 },
208 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
209 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
210 },
211 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
212 # folder.
213 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
214 },
215 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
216 },
217 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
218 },
219 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
220 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
221 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
222 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
223 # ID for this resource name.
224 },
225 },
226 ],
227 },
228 &quot;reference&quot;: { # Activity in applications other than Drive. # An object was referenced in an application outside of Drive/Docs.
229 &quot;type&quot;: &quot;A String&quot;, # The reference type corresponding to this event.
230 },
231 &quot;create&quot;: { # An object was created. # An object was created.
232 &quot;upload&quot;: { # An object was uploaded into Drive. # If present, indicates the object originated externally and was uploaded
233 # to Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 },
235 &quot;new&quot;: { # An object was created from scratch. # If present, indicates the object was newly created (e.g. as a blank
236 # document), not derived from a Drive object or external object.
237 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700238 &quot;copy&quot;: { # An object was created by copying an existing object. # If present, indicates the object was created by copying an existing Drive
239 # object.
240 &quot;originalObject&quot;: { # A lightweight reference to the target of activity. # The the original object.
241 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
242 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
243 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
244 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700246 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
247 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
Bu Sun Kim65020912020-05-20 12:08:20 -0700248 },
249 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
250 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
251 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700252 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
253 # folder.
254 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
Bu Sun Kim65020912020-05-20 12:08:20 -0700255 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700256 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
257 },
258 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
259 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700260 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
261 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
262 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
263 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
264 # ID for this resource name.
265 },
266 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700267 },
268 },
269 &quot;permissionChange&quot;: { # A change of the permission setting on an item. # The permission on an object was changed.
270 &quot;removedPermissions&quot;: [ # The set of permissions removed by this change.
271 { # The permission setting of an object.
272 &quot;role&quot;: &quot;A String&quot;, # Indicates the
273 # &lt;a href=&quot;/drive/web/manage-sharing#roles&quot;&gt;Google Drive permissions
274 # role&lt;/a&gt;. The role determines a user&#x27;s ability to read, write, and
275 # comment on items.
276 &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;
277 # collection) without needing a link to the item.
278 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
279 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
280 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
281 },
282 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
283 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
284 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
285 },
286 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
287 },
288 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
289 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
290 },
291 &quot;knownUser&quot;: { # A known user. # A known user.
292 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
293 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
294 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
295 # https://developers.google.com/people/.
296 },
297 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
298 },
299 },
300 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700301 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700302 &quot;addedPermissions&quot;: [ # The set of permissions added by this change.
303 { # The permission setting of an object.
304 &quot;role&quot;: &quot;A String&quot;, # Indicates the
305 # &lt;a href=&quot;/drive/web/manage-sharing#roles&quot;&gt;Google Drive permissions
306 # role&lt;/a&gt;. The role determines a user&#x27;s ability to read, write, and
307 # comment on items.
308 &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;
309 # collection) without needing a link to the item.
310 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
311 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
312 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
Bu Sun Kim65020912020-05-20 12:08:20 -0700313 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700314 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
315 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
316 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
Bu Sun Kim65020912020-05-20 12:08:20 -0700317 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700318 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
319 },
320 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
321 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
322 },
323 &quot;knownUser&quot;: { # A known user. # A known user.
324 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
325 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
326 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
327 # https://developers.google.com/people/.
328 },
329 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
330 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700331 },
332 },
333 ],
334 },
335 &quot;settingsChange&quot;: { # Information about settings changes. # Settings were changed.
336 &quot;restrictionChanges&quot;: [ # The set of changes made to restrictions.
337 { # Information about restriction policy changes to a feature.
338 &quot;newRestriction&quot;: &quot;A String&quot;, # The restriction in place after the change.
339 &quot;feature&quot;: &quot;A String&quot;, # The feature which had a change in restriction policy.
340 },
341 ],
342 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700343 &quot;edit&quot;: { # An empty message indicating an object was edited. # An object was edited.
Bu Sun Kim65020912020-05-20 12:08:20 -0700344 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700345 &quot;delete&quot;: { # An object was deleted. # An object was deleted.
346 &quot;type&quot;: &quot;A String&quot;, # The type of delete action taken.
Bu Sun Kim65020912020-05-20 12:08:20 -0700347 },
348 &quot;dlpChange&quot;: { # A change in the object&#x27;s data leak prevention status. # A change happened in data leak prevention status.
349 &quot;type&quot;: &quot;A String&quot;, # The type of Data Leak Prevention (DLP) change.
350 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700351 &quot;restore&quot;: { # A deleted object was restored. # A deleted object was restored.
352 &quot;type&quot;: &quot;A String&quot;, # The type of restore action taken.
Bu Sun Kim65020912020-05-20 12:08:20 -0700353 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700354 &quot;comment&quot;: { # A change about comments on an object. # A change about comments was made.
355 &quot;assignment&quot;: { # A comment with an assignment. # A change on an assignment.
356 &quot;assignedUser&quot;: { # Information about an end user. # The user to whom the comment was assigned.
357 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
358 },
359 &quot;knownUser&quot;: { # A known user. # A known user.
360 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
361 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
362 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
363 # https://developers.google.com/people/.
364 },
365 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
366 },
367 },
368 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
369 },
370 &quot;suggestion&quot;: { # A suggestion. # A change on a suggestion.
371 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
372 },
373 &quot;post&quot;: { # A regular posted comment. # A change on a regular posted comment.
374 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
375 },
376 &quot;mentionedUsers&quot;: [ # Users who are mentioned in this comment.
377 { # Information about an end user.
378 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
379 },
380 &quot;knownUser&quot;: { # A known user. # A known user.
381 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
382 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
383 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
384 # https://developers.google.com/people/.
385 },
386 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
387 },
388 },
389 ],
390 },
391 },
392 &quot;target&quot;: { # Information about the target of activity. # The target this action affects (or empty if affecting all targets). This
393 # represents the state of the target immediately after this action occurred.
394 &quot;teamDrive&quot;: { # This item is deprecated; please see `Drive` instead. # This field is deprecated; please use the `drive` field instead.
395 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.title` instead.
396 &quot;root&quot;: { # A Drive item, such as a file or folder. # This field is deprecated; please see `Drive.root` instead.
397 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
398 },
399 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
400 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
401 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
402 },
403 &quot;knownUser&quot;: { # A known user. # A known user.
404 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
405 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
406 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
407 # https://developers.google.com/people/.
408 },
409 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
410 },
411 },
412 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
413 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
414 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
415 },
416 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
417 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
418 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
419 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
420 # ID for this resource name.
421 },
422 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
423 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
424 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
425 },
426 },
427 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
428 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
429 },
430 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See
431 # https://developers.google.com/drive/v3/web/mime-types.
432 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
433 },
434 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
435 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
436 # folder.
437 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
438 },
439 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
440 },
441 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.name` instead.
442 },
443 &quot;drive&quot;: { # Information about a shared drive. # The target is a shared drive.
444 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
445 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
446 # ID for this resource name.
447 &quot;root&quot;: { # A Drive item, such as a file or folder. # The root of this shared drive.
448 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
449 },
450 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
451 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
452 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
453 },
454 &quot;knownUser&quot;: { # A known user. # A known user.
455 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
456 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
457 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
458 # https://developers.google.com/people/.
459 },
460 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
461 },
462 },
463 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
464 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
465 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
466 },
467 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
468 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
469 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
470 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
471 # ID for this resource name.
472 },
473 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
474 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
475 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
476 },
477 },
478 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
479 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
480 },
481 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See
482 # https://developers.google.com/drive/v3/web/mime-types.
483 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
484 },
485 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
486 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
487 # folder.
488 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
489 },
490 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
491 },
492 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
493 },
494 &quot;driveItem&quot;: { # A Drive item, such as a file or folder. # The target is a Drive item.
495 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
496 },
497 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
498 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
499 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
500 },
501 &quot;knownUser&quot;: { # A known user. # A known user.
502 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
503 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
504 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
505 # https://developers.google.com/people/.
506 },
507 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
508 },
509 },
510 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
511 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
512 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
513 },
514 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
515 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
516 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
517 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
518 # ID for this resource name.
519 },
520 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
521 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
522 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
523 },
524 },
525 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
526 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
527 },
528 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See
529 # https://developers.google.com/drive/v3/web/mime-types.
530 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
531 },
532 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
533 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
534 # folder.
535 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
536 },
537 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
538 },
539 &quot;fileComment&quot;: { # A comment on a file. # The target is a comment on a Drive file.
540 &quot;parent&quot;: { # A Drive item, such as a file or folder. # The Drive item containing this comment.
541 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
542 },
543 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
544 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
545 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
546 },
547 &quot;knownUser&quot;: { # A known user. # A known user.
548 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
549 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
550 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
551 # https://developers.google.com/people/.
552 },
553 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
554 },
555 },
556 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
557 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
558 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
559 },
560 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
561 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
562 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
563 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
564 # ID for this resource name.
565 },
566 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
567 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
568 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
569 },
570 },
571 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
572 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
573 },
574 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See
575 # https://developers.google.com/drive/v3/web/mime-types.
576 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
577 },
578 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
579 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
580 # folder.
581 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
582 },
583 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
584 },
585 &quot;legacyCommentId&quot;: &quot;A String&quot;, # The comment in the discussion thread. This identifier is an opaque string
586 # compatible with the Drive API; see
587 # https://developers.google.com/drive/v3/reference/comments/get
588 &quot;legacyDiscussionId&quot;: &quot;A String&quot;, # The discussion thread to which the comment was added. This identifier is an
589 # opaque string compatible with the Drive API and references the first
590 # comment in a discussion; see
591 # https://developers.google.com/drive/v3/reference/comments/get
592 &quot;linkToDiscussion&quot;: &quot;A String&quot;, # The link to the discussion thread containing this comment, for example,
593 # &quot;https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID&quot;.
594 },
595 },
596 &quot;actor&quot;: { # The actor of a Drive activity. # The actor responsible for this action (or empty if all actors are
597 # responsible).
598 &quot;impersonation&quot;: { # Information about an impersonation, where an admin acts on behalf of an end # An account acting on behalf of another.
599 # user. Information about the acting admin is not currently available.
600 &quot;impersonatedUser&quot;: { # Information about an end user. # The impersonated user.
601 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
602 },
603 &quot;knownUser&quot;: { # A known user. # A known user.
604 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
605 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
606 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
607 # https://developers.google.com/people/.
608 },
609 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
610 },
611 },
612 },
613 &quot;system&quot;: { # Event triggered by system operations instead of end users. # A non-user actor (i.e. system triggered).
614 &quot;type&quot;: &quot;A String&quot;, # The type of the system event that may triggered activity.
615 },
616 &quot;user&quot;: { # Information about an end user. # An end user.
617 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
618 },
619 &quot;knownUser&quot;: { # A known user. # A known user.
620 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
621 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
622 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
623 # https://developers.google.com/people/.
624 },
625 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
626 },
627 },
628 &quot;administrator&quot;: { # Empty message representing an administrator. # An administrator.
629 },
630 &quot;anonymous&quot;: { # Empty message representing an anonymous user or indicating the authenticated # An anonymous user.
631 # user should be anonymized.
Bu Sun Kim65020912020-05-20 12:08:20 -0700632 },
633 },
634 &quot;timeRange&quot;: { # Information about time ranges. # The action occurred over this time range.
Bu Sun Kim65020912020-05-20 12:08:20 -0700635 &quot;startTime&quot;: &quot;A String&quot;, # The start of the time range.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700636 &quot;endTime&quot;: &quot;A String&quot;, # The end of the time range.
Bu Sun Kim65020912020-05-20 12:08:20 -0700637 },
638 &quot;timestamp&quot;: &quot;A String&quot;, # The action occurred at this specific time.
639 },
640 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700641 &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
642 # representative, or the most important, of all actions in the activity,
643 # according to the ConsolidationStrategy in the request.
644 &quot;rename&quot;: { # An object was renamed. # An object was renamed.
645 &quot;newTitle&quot;: &quot;A String&quot;, # The new title of the drive object.
646 &quot;oldTitle&quot;: &quot;A String&quot;, # The previous title of the drive object.
647 },
648 &quot;move&quot;: { # An object was moved. # An object was moved.
649 &quot;removedParents&quot;: [ # The removed parent object(s).
650 { # A lightweight reference to the target of activity.
651 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
652 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
653 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
654 },
655 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
656 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
657 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
658 },
659 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
660 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
661 },
662 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
663 # folder.
664 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
665 },
666 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
667 },
668 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
669 },
670 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
671 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
672 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
673 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
674 # ID for this resource name.
675 },
676 },
677 ],
678 &quot;addedParents&quot;: [ # The added parent object(s).
679 { # A lightweight reference to the target of activity.
680 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
681 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
682 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
683 },
684 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
685 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
686 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
687 },
688 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
689 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
690 },
691 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
692 # folder.
693 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
694 },
695 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
696 },
697 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
698 },
699 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
700 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
701 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
702 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
703 # ID for this resource name.
704 },
705 },
706 ],
707 },
708 &quot;reference&quot;: { # Activity in applications other than Drive. # An object was referenced in an application outside of Drive/Docs.
709 &quot;type&quot;: &quot;A String&quot;, # The reference type corresponding to this event.
710 },
711 &quot;create&quot;: { # An object was created. # An object was created.
712 &quot;upload&quot;: { # An object was uploaded into Drive. # If present, indicates the object originated externally and was uploaded
713 # to Drive.
714 },
715 &quot;new&quot;: { # An object was created from scratch. # If present, indicates the object was newly created (e.g. as a blank
716 # document), not derived from a Drive object or external object.
717 },
718 &quot;copy&quot;: { # An object was created by copying an existing object. # If present, indicates the object was created by copying an existing Drive
719 # object.
720 &quot;originalObject&quot;: { # A lightweight reference to the target of activity. # The the original object.
721 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
722 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
723 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
724 },
725 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
726 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
727 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
728 },
729 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
730 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
731 },
732 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
733 # folder.
734 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
735 },
736 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
737 },
738 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
739 },
740 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
741 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
742 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
743 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
744 # ID for this resource name.
745 },
746 },
747 },
748 },
749 &quot;permissionChange&quot;: { # A change of the permission setting on an item. # The permission on an object was changed.
750 &quot;removedPermissions&quot;: [ # The set of permissions removed by this change.
751 { # The permission setting of an object.
752 &quot;role&quot;: &quot;A String&quot;, # Indicates the
753 # &lt;a href=&quot;/drive/web/manage-sharing#roles&quot;&gt;Google Drive permissions
754 # role&lt;/a&gt;. The role determines a user&#x27;s ability to read, write, and
755 # comment on items.
756 &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;
757 # collection) without needing a link to the item.
758 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
759 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
760 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
761 },
762 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
763 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
764 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
765 },
766 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
767 },
768 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
769 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
770 },
771 &quot;knownUser&quot;: { # A known user. # A known user.
772 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
773 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
774 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
775 # https://developers.google.com/people/.
776 },
777 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
778 },
779 },
780 },
781 ],
782 &quot;addedPermissions&quot;: [ # The set of permissions added by this change.
783 { # The permission setting of an object.
784 &quot;role&quot;: &quot;A String&quot;, # Indicates the
785 # &lt;a href=&quot;/drive/web/manage-sharing#roles&quot;&gt;Google Drive permissions
786 # role&lt;/a&gt;. The role determines a user&#x27;s ability to read, write, and
787 # comment on items.
788 &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;
789 # collection) without needing a link to the item.
790 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
791 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
792 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
793 },
794 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
795 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
796 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
797 },
798 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
799 },
800 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
801 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
802 },
803 &quot;knownUser&quot;: { # A known user. # A known user.
804 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
805 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
806 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
807 # https://developers.google.com/people/.
808 },
809 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
810 },
811 },
812 },
813 ],
814 },
815 &quot;settingsChange&quot;: { # Information about settings changes. # Settings were changed.
816 &quot;restrictionChanges&quot;: [ # The set of changes made to restrictions.
817 { # Information about restriction policy changes to a feature.
818 &quot;newRestriction&quot;: &quot;A String&quot;, # The restriction in place after the change.
819 &quot;feature&quot;: &quot;A String&quot;, # The feature which had a change in restriction policy.
820 },
821 ],
822 },
823 &quot;edit&quot;: { # An empty message indicating an object was edited. # An object was edited.
824 },
825 &quot;delete&quot;: { # An object was deleted. # An object was deleted.
826 &quot;type&quot;: &quot;A String&quot;, # The type of delete action taken.
827 },
828 &quot;dlpChange&quot;: { # A change in the object&#x27;s data leak prevention status. # A change happened in data leak prevention status.
829 &quot;type&quot;: &quot;A String&quot;, # The type of Data Leak Prevention (DLP) change.
830 },
831 &quot;restore&quot;: { # A deleted object was restored. # A deleted object was restored.
832 &quot;type&quot;: &quot;A String&quot;, # The type of restore action taken.
833 },
834 &quot;comment&quot;: { # A change about comments on an object. # A change about comments was made.
835 &quot;assignment&quot;: { # A comment with an assignment. # A change on an assignment.
836 &quot;assignedUser&quot;: { # Information about an end user. # The user to whom the comment was assigned.
837 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
838 },
839 &quot;knownUser&quot;: { # A known user. # A known user.
840 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
841 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
842 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
843 # https://developers.google.com/people/.
844 },
845 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
846 },
847 },
848 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
849 },
850 &quot;suggestion&quot;: { # A suggestion. # A change on a suggestion.
851 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
852 },
853 &quot;post&quot;: { # A regular posted comment. # A change on a regular posted comment.
854 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
855 },
856 &quot;mentionedUsers&quot;: [ # Users who are mentioned in this comment.
857 { # Information about an end user.
858 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
859 },
860 &quot;knownUser&quot;: { # A known user. # A known user.
861 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
862 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
863 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
864 # https://developers.google.com/people/.
865 },
866 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
867 },
868 },
869 ],
870 },
871 },
872 &quot;timestamp&quot;: &quot;A String&quot;, # The activity occurred at this specific time.
873 &quot;actors&quot;: [ # All actor(s) responsible for the activity.
874 { # The actor of a Drive activity.
875 &quot;impersonation&quot;: { # Information about an impersonation, where an admin acts on behalf of an end # An account acting on behalf of another.
876 # user. Information about the acting admin is not currently available.
877 &quot;impersonatedUser&quot;: { # Information about an end user. # The impersonated user.
878 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
879 },
880 &quot;knownUser&quot;: { # A known user. # A known user.
881 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
882 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
883 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
884 # https://developers.google.com/people/.
885 },
886 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
887 },
888 },
889 },
890 &quot;system&quot;: { # Event triggered by system operations instead of end users. # A non-user actor (i.e. system triggered).
891 &quot;type&quot;: &quot;A String&quot;, # The type of the system event that may triggered activity.
892 },
893 &quot;user&quot;: { # Information about an end user. # An end user.
894 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
895 },
896 &quot;knownUser&quot;: { # A known user. # A known user.
897 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
898 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
899 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
900 # https://developers.google.com/people/.
901 },
902 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
903 },
904 },
905 &quot;administrator&quot;: { # Empty message representing an administrator. # An administrator.
906 },
907 &quot;anonymous&quot;: { # Empty message representing an anonymous user or indicating the authenticated # An anonymous user.
908 # user should be anonymized.
909 },
910 },
911 ],
912 &quot;targets&quot;: [ # All Google Drive objects this activity is about (e.g. file, folder, drive).
913 # This represents the state of the target immediately after the actions
914 # occurred.
915 { # Information about the target of activity.
916 &quot;teamDrive&quot;: { # This item is deprecated; please see `Drive` instead. # This field is deprecated; please use the `drive` field instead.
917 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.title` instead.
918 &quot;root&quot;: { # A Drive item, such as a file or folder. # This field is deprecated; please see `Drive.root` instead.
919 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
920 },
921 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
922 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
923 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
924 },
925 &quot;knownUser&quot;: { # A known user. # A known user.
926 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
927 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
928 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
929 # https://developers.google.com/people/.
930 },
931 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
932 },
933 },
934 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
935 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
936 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
937 },
938 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
939 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
940 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
941 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
942 # ID for this resource name.
943 },
944 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
945 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
946 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
947 },
948 },
949 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
950 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
951 },
952 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See
953 # https://developers.google.com/drive/v3/web/mime-types.
954 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
955 },
956 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
957 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
958 # folder.
959 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
960 },
961 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
962 },
963 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.name` instead.
964 },
965 &quot;drive&quot;: { # Information about a shared drive. # The target is a shared drive.
966 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
967 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
968 # ID for this resource name.
969 &quot;root&quot;: { # A Drive item, such as a file or folder. # The root of this shared drive.
970 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
971 },
972 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
973 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
974 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
975 },
976 &quot;knownUser&quot;: { # A known user. # A known user.
977 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
978 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
979 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
980 # https://developers.google.com/people/.
981 },
982 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
983 },
984 },
985 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
986 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
987 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
988 },
989 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
990 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
991 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
992 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
993 # ID for this resource name.
994 },
995 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
996 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
997 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
998 },
999 },
1000 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
1001 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
1002 },
1003 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See
1004 # https://developers.google.com/drive/v3/web/mime-types.
1005 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
1006 },
1007 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
1008 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
1009 # folder.
1010 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
1011 },
1012 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
1013 },
1014 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
1015 },
1016 &quot;driveItem&quot;: { # A Drive item, such as a file or folder. # The target is a Drive item.
1017 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
1018 },
1019 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
1020 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
1021 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
1022 },
1023 &quot;knownUser&quot;: { # A known user. # A known user.
1024 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
1025 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
1026 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
1027 # https://developers.google.com/people/.
1028 },
1029 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
1030 },
1031 },
1032 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
1033 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
1034 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
1035 },
1036 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
1037 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
1038 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
1039 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
1040 # ID for this resource name.
1041 },
1042 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
1043 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
1044 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
1045 },
1046 },
1047 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
1048 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
1049 },
1050 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See
1051 # https://developers.google.com/drive/v3/web/mime-types.
1052 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
1053 },
1054 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
1055 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
1056 # folder.
1057 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
1058 },
1059 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
1060 },
1061 &quot;fileComment&quot;: { # A comment on a file. # The target is a comment on a Drive file.
1062 &quot;parent&quot;: { # A Drive item, such as a file or folder. # The Drive item containing this comment.
1063 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
1064 },
1065 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
1066 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
1067 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
1068 },
1069 &quot;knownUser&quot;: { # A known user. # A known user.
1070 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
1071 &quot;personName&quot;: &quot;A String&quot;, # The identifier for this user that can be used with the People API to get
1072 # more information. The format is &quot;people/ACCOUNT_ID&quot;. See
1073 # https://developers.google.com/people/.
1074 },
1075 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
1076 },
1077 },
1078 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
1079 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
1080 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
1081 },
1082 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
1083 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
1084 &quot;name&quot;: &quot;A String&quot;, # The resource name of the shared drive. The format is
1085 # &quot;COLLECTION_ID/DRIVE_ID&quot;. Clients should not assume a specific collection
1086 # ID for this resource name.
1087 },
1088 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
1089 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
1090 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
1091 },
1092 },
1093 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
1094 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
1095 },
1096 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See
1097 # https://developers.google.com/drive/v3/web/mime-types.
1098 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
1099 },
1100 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
1101 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
1102 # folder.
1103 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
1104 },
1105 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
1106 },
1107 &quot;legacyCommentId&quot;: &quot;A String&quot;, # The comment in the discussion thread. This identifier is an opaque string
1108 # compatible with the Drive API; see
1109 # https://developers.google.com/drive/v3/reference/comments/get
1110 &quot;legacyDiscussionId&quot;: &quot;A String&quot;, # The discussion thread to which the comment was added. This identifier is an
1111 # opaque string compatible with the Drive API and references the first
1112 # comment in a discussion; see
1113 # https://developers.google.com/drive/v3/reference/comments/get
1114 &quot;linkToDiscussion&quot;: &quot;A String&quot;, # The link to the discussion thread containing this comment, for example,
1115 # &quot;https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID&quot;.
1116 },
1117 },
1118 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001119 },
1120 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001121 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or
1122 # empty if there are no more results in the list.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001123 }</pre>
1124</div>
1125
1126<div class="method">
1127 <code class="details" id="query_next">query_next(previous_request, previous_response)</code>
1128 <pre>Retrieves the next page of results.
1129
1130Args:
1131 previous_request: The request for the previous page. (required)
1132 previous_response: The response from the request for the previous page. (required)
1133
1134Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001135 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001136 page. Returns None if there are no more items in the collection.
1137 </pre>
1138</div>
1139
1140</body></html>