blob: dba09dd72be33ce17bf2abc78957c25590e4b64f [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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800101 &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
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700102 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800103 &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;.
104 &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 -0700105 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700106 &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 -0700107 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800108 &quot;none&quot;: { # A strategy which does no consolidation of individual activities. # The individual activities are not consolidated.
109 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700110 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800111 &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 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700125 &quot;actions&quot;: [ # Details on all actions in this activity.
126 { # Information about the action.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800127 &quot;timeRange&quot;: { # Information about time ranges. # The action occurred over this time range.
128 &quot;endTime&quot;: &quot;A String&quot;, # The end of the time range.
129 &quot;startTime&quot;: &quot;A String&quot;, # The start of the time range.
130 },
131 &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.
132 &quot;drive&quot;: { # Information about a shared drive. # The target is a shared drive.
133 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
134 &quot;root&quot;: { # A Drive item, such as a file or folder. # The root of this shared drive.
135 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
136 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
137 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
138 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800139 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800140 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
141 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
142 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
143 },
144 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
145 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
146 },
147 &quot;knownUser&quot;: { # A known user. # A known user.
148 &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/.
149 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
150 },
151 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
152 },
153 },
154 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
155 &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.
156 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
157 },
158 },
159 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
160 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
161 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
162 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
163 },
164 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
165 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
166 },
167 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
168 },
169 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
170 },
171 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
172 },
173 &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.
174 },
175 &quot;teamDrive&quot;: { # This item is deprecated; please see `Drive` instead. # This field is deprecated; please use the `drive` field instead.
176 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.title` instead.
177 &quot;root&quot;: { # A Drive item, such as a file or folder. # This field is deprecated; please see `Drive.root` instead.
178 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
179 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
180 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
181 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
182 },
183 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
184 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
185 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
186 },
187 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
188 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
189 },
190 &quot;knownUser&quot;: { # A known user. # A known user.
191 &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/.
192 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
193 },
194 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
195 },
196 },
197 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
198 &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.
199 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
200 },
201 },
202 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
203 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
204 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
205 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
206 },
207 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
208 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
209 },
210 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
211 },
212 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
213 },
214 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
215 },
216 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.name` instead.
217 },
218 &quot;fileComment&quot;: { # A comment on a file. # The target is a comment on a Drive file.
219 &quot;parent&quot;: { # A Drive item, such as a file or folder. # The Drive item containing this comment.
220 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
221 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
222 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
223 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
224 },
225 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
226 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
227 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
228 },
229 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
230 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
231 },
232 &quot;knownUser&quot;: { # A known user. # A known user.
233 &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/.
234 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
235 },
236 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
237 },
238 },
239 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
240 &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.
241 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
242 },
243 },
244 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
245 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
246 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
247 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
248 },
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 },
252 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
253 },
254 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
255 },
256 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
257 },
258 &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;.
259 &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
260 &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
261 },
262 &quot;driveItem&quot;: { # A Drive item, such as a file or folder. # The target is a Drive item.
263 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
264 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
265 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
266 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
267 },
268 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
269 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
270 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
271 },
272 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800273 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700274 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800275 &quot;knownUser&quot;: { # A known user. # A known user.
276 &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/.
277 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
278 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800279 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700280 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800281 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800282 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
283 &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.
284 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
285 },
286 },
287 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
288 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
289 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
290 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
291 },
292 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
293 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
294 },
295 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
296 },
297 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
298 },
299 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
300 },
301 },
302 &quot;detail&quot;: { # Data describing the type and additional information of an action. # The type and detailed information about the action.
303 &quot;comment&quot;: { # A change about comments on an object. # A change about comments was made.
304 &quot;suggestion&quot;: { # A suggestion. # A change on a suggestion.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800305 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
306 },
307 &quot;mentionedUsers&quot;: [ # Users who are mentioned in this comment.
308 { # Information about an end user.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800309 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700310 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800311 &quot;knownUser&quot;: { # A known user. # A known user.
312 &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/.
313 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
314 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800315 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
316 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700317 },
318 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800319 &quot;assignment&quot;: { # A comment with an assignment. # A change on an assignment.
320 &quot;assignedUser&quot;: { # Information about an end user. # The user to whom the comment was assigned.
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;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/.
325 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
326 },
327 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
328 },
329 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800330 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
331 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800332 &quot;post&quot;: { # A regular posted comment. # A change on a regular posted comment.
333 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
334 },
335 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800336 &quot;restore&quot;: { # A deleted object was restored. # A deleted object was restored.
337 &quot;type&quot;: &quot;A String&quot;, # The type of restore action taken.
338 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800339 &quot;dlpChange&quot;: { # A change in the object&#x27;s data leak prevention status. # A change happened in data leak prevention status.
340 &quot;type&quot;: &quot;A String&quot;, # The type of Data Leak Prevention (DLP) change.
341 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800342 &quot;create&quot;: { # An object was created. # An object was created.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800343 &quot;upload&quot;: { # An object was uploaded into Drive. # If present, indicates the object originated externally and was uploaded to Drive.
344 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800345 &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.
346 &quot;originalObject&quot;: { # A lightweight reference to the target of activity. # The the original object.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800347 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800348 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800349 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
350 },
351 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
352 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
353 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800354 },
355 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800356 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800357 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
358 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800359 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
360 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
361 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800362 &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 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800365 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800366 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800367 },
368 },
369 },
370 },
371 &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.
372 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800373 },
374 &quot;move&quot;: { # An object was moved. # An object was moved.
375 &quot;addedParents&quot;: [ # The added parent object(s).
376 { # A lightweight reference to the target of activity.
377 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
378 &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.
379 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
380 },
381 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
382 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
383 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
384 },
385 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
386 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
387 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
388 },
389 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
390 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
391 },
392 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
393 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
394 },
395 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
396 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
397 },
398 },
399 },
400 ],
401 &quot;removedParents&quot;: [ # The removed parent object(s).
402 { # A lightweight reference to the target of activity.
403 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
404 &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.
405 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
406 },
407 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
408 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
409 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
410 },
411 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
412 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
413 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
414 },
415 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
416 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
417 },
418 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
419 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
420 },
421 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
422 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
423 },
424 },
425 },
426 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800427 },
428 &quot;edit&quot;: { # An empty message indicating an object was edited. # An object was edited.
429 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800430 &quot;permissionChange&quot;: { # A change of the permission setting on an item. # The permission on an object was changed.
431 &quot;removedPermissions&quot;: [ # The set of permissions removed by this change.
432 { # The permission setting of an object.
433 &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.
434 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
435 },
436 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
437 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
438 },
439 &quot;knownUser&quot;: { # A known user. # A known user.
440 &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/.
441 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
442 },
443 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
444 },
445 },
446 &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.
447 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
448 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
449 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
450 },
451 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
452 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
453 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
454 },
455 },
456 ],
457 &quot;addedPermissions&quot;: [ # The set of permissions added by this change.
458 { # The permission setting of an object.
459 &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.
460 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
461 },
462 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
463 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
464 },
465 &quot;knownUser&quot;: { # A known user. # A known user.
466 &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/.
467 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
468 },
469 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
470 },
471 },
472 &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.
473 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
474 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
475 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
476 },
477 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
478 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
479 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
480 },
481 },
482 ],
483 },
484 &quot;rename&quot;: { # An object was renamed. # An object was renamed.
485 &quot;oldTitle&quot;: &quot;A String&quot;, # The previous title of the drive object.
486 &quot;newTitle&quot;: &quot;A String&quot;, # The new title of the drive object.
487 },
488 &quot;delete&quot;: { # An object was deleted. # An object was deleted.
489 &quot;type&quot;: &quot;A String&quot;, # The type of delete action taken.
490 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800491 &quot;settingsChange&quot;: { # Information about settings changes. # Settings were changed.
492 &quot;restrictionChanges&quot;: [ # The set of changes made to restrictions.
493 { # Information about restriction policy changes to a feature.
494 &quot;newRestriction&quot;: &quot;A String&quot;, # The restriction in place after the change.
495 &quot;feature&quot;: &quot;A String&quot;, # The feature which had a change in restriction policy.
496 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700497 ],
498 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800499 &quot;reference&quot;: { # Activity in applications other than Drive. # An object was referenced in an application outside of Drive/Docs.
500 &quot;type&quot;: &quot;A String&quot;, # The reference type corresponding to this event.
501 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800502 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800503 &quot;timestamp&quot;: &quot;A String&quot;, # The action occurred at this specific time.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800504 &quot;actor&quot;: { # The actor of a Drive activity. # The actor responsible for this action (or empty if all actors are responsible).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800505 &quot;system&quot;: { # Event triggered by system operations instead of end users. # A non-user actor (i.e. system triggered).
506 &quot;type&quot;: &quot;A String&quot;, # The type of the system event that may triggered activity.
507 },
508 &quot;anonymous&quot;: { # Empty message representing an anonymous user or indicating the authenticated user should be anonymized. # An anonymous user.
509 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800510 &quot;user&quot;: { # Information about an end user. # An end user.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800511 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
512 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800513 &quot;knownUser&quot;: { # A known user. # A known user.
514 &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/.
515 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
516 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800517 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
518 },
519 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800520 &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.
521 &quot;impersonatedUser&quot;: { # Information about an end user. # The impersonated user.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800522 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
523 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800524 &quot;knownUser&quot;: { # A known user. # A known user.
525 &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/.
526 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
527 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800528 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
529 },
530 },
531 },
532 &quot;administrator&quot;: { # Empty message representing an administrator. # An administrator.
533 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800534 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700535 },
536 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800537 &quot;actors&quot;: [ # All actor(s) responsible for the activity.
538 { # The actor of a Drive activity.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800539 &quot;system&quot;: { # Event triggered by system operations instead of end users. # A non-user actor (i.e. system triggered).
540 &quot;type&quot;: &quot;A String&quot;, # The type of the system event that may triggered activity.
541 },
542 &quot;anonymous&quot;: { # Empty message representing an anonymous user or indicating the authenticated user should be anonymized. # An anonymous user.
543 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800544 &quot;user&quot;: { # Information about an end user. # An end user.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800545 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
546 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800547 &quot;knownUser&quot;: { # A known user. # A known user.
548 &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/.
549 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
550 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800551 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
552 },
553 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800554 &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.
555 &quot;impersonatedUser&quot;: { # Information about an end user. # The impersonated user.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800556 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
557 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800558 &quot;knownUser&quot;: { # A known user. # A known user.
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 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
561 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800562 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
563 },
564 },
565 },
566 &quot;administrator&quot;: { # Empty message representing an administrator. # An administrator.
567 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800568 },
569 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800570 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800571 &quot;comment&quot;: { # A change about comments on an object. # A change about comments was made.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800572 &quot;suggestion&quot;: { # A suggestion. # A change on a suggestion.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800573 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
574 },
575 &quot;mentionedUsers&quot;: [ # Users who are mentioned in this comment.
576 { # Information about an end user.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800577 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
578 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800579 &quot;knownUser&quot;: { # A known user. # A known user.
580 &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/.
581 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
582 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800583 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
584 },
585 },
586 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800587 &quot;assignment&quot;: { # A comment with an assignment. # A change on an assignment.
588 &quot;assignedUser&quot;: { # Information about an end user. # The user to whom the comment was assigned.
589 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
590 },
591 &quot;knownUser&quot;: { # A known user. # A known user.
592 &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/.
593 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
594 },
595 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
596 },
597 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800598 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
599 },
600 &quot;post&quot;: { # A regular posted comment. # A change on a regular posted comment.
601 &quot;subtype&quot;: &quot;A String&quot;, # The sub-type of this event.
602 },
603 },
604 &quot;restore&quot;: { # A deleted object was restored. # A deleted object was restored.
605 &quot;type&quot;: &quot;A String&quot;, # The type of restore action taken.
606 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800607 &quot;dlpChange&quot;: { # A change in the object&#x27;s data leak prevention status. # A change happened in data leak prevention status.
608 &quot;type&quot;: &quot;A String&quot;, # The type of Data Leak Prevention (DLP) change.
609 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800610 &quot;create&quot;: { # An object was created. # An object was created.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800611 &quot;upload&quot;: { # An object was uploaded into Drive. # If present, indicates the object originated externally and was uploaded to Drive.
612 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800613 &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.
614 &quot;originalObject&quot;: { # A lightweight reference to the target of activity. # The the original object.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800615 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800616 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800617 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
618 },
619 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
620 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
621 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800622 },
623 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800624 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800625 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
626 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800627 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
628 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
629 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800630 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
631 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
632 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800633 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800634 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800635 },
636 },
637 },
638 },
639 &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.
640 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800641 },
642 &quot;move&quot;: { # An object was moved. # An object was moved.
643 &quot;addedParents&quot;: [ # The added parent object(s).
644 { # A lightweight reference to the target of activity.
645 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
646 &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.
647 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
648 },
649 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
650 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
651 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
652 },
653 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
654 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
655 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
656 },
657 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
658 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
659 },
660 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
661 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
662 },
663 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
664 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
665 },
666 },
667 },
668 ],
669 &quot;removedParents&quot;: [ # The removed parent object(s).
670 { # A lightweight reference to the target of activity.
671 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The target is a shared drive.
672 &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.
673 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
674 },
675 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
676 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
677 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
678 },
679 &quot;driveItem&quot;: { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
680 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
681 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
682 },
683 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
684 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
685 },
686 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
687 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
688 },
689 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
690 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
691 },
692 },
693 },
694 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800695 },
696 &quot;edit&quot;: { # An empty message indicating an object was edited. # An object was edited.
697 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800698 &quot;permissionChange&quot;: { # A change of the permission setting on an item. # The permission on an object was changed.
699 &quot;removedPermissions&quot;: [ # The set of permissions removed by this change.
700 { # The permission setting of an object.
701 &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.
702 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
703 },
704 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
705 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
706 },
707 &quot;knownUser&quot;: { # A known user. # A known user.
708 &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/.
709 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
710 },
711 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
712 },
713 },
714 &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.
715 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
716 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
717 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
718 },
719 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
720 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
721 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
722 },
723 },
724 ],
725 &quot;addedPermissions&quot;: [ # The set of permissions added by this change.
726 { # The permission setting of an object.
727 &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.
728 &quot;anyone&quot;: { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
729 },
730 &quot;user&quot;: { # Information about an end user. # The user to whom this permission applies.
731 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
732 },
733 &quot;knownUser&quot;: { # A known user. # A known user.
734 &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/.
735 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
736 },
737 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
738 },
739 },
740 &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.
741 &quot;group&quot;: { # Information about a group. # The group to whom this permission applies.
742 &quot;title&quot;: &quot;A String&quot;, # The title of the group.
743 &quot;email&quot;: &quot;A String&quot;, # The email address of the group.
744 },
745 &quot;domain&quot;: { # Information about a domain. # The domain to whom this permission applies.
746 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
747 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
748 },
749 },
750 ],
751 },
752 &quot;rename&quot;: { # An object was renamed. # An object was renamed.
753 &quot;oldTitle&quot;: &quot;A String&quot;, # The previous title of the drive object.
754 &quot;newTitle&quot;: &quot;A String&quot;, # The new title of the drive object.
755 },
756 &quot;delete&quot;: { # An object was deleted. # An object was deleted.
757 &quot;type&quot;: &quot;A String&quot;, # The type of delete action taken.
758 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800759 &quot;settingsChange&quot;: { # Information about settings changes. # Settings were changed.
760 &quot;restrictionChanges&quot;: [ # The set of changes made to restrictions.
761 { # Information about restriction policy changes to a feature.
762 &quot;newRestriction&quot;: &quot;A String&quot;, # The restriction in place after the change.
763 &quot;feature&quot;: &quot;A String&quot;, # The feature which had a change in restriction policy.
764 },
765 ],
766 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800767 &quot;reference&quot;: { # Activity in applications other than Drive. # An object was referenced in an application outside of Drive/Docs.
768 &quot;type&quot;: &quot;A String&quot;, # The reference type corresponding to this event.
769 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800770 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800771 &quot;timestamp&quot;: &quot;A String&quot;, # The activity occurred at this specific time.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800772 &quot;timeRange&quot;: { # Information about time ranges. # The activity occurred over this time range.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800773 &quot;endTime&quot;: &quot;A String&quot;, # The end of the time range.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800774 &quot;startTime&quot;: &quot;A String&quot;, # The start of the time range.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800775 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800776 &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.
777 { # Information about the target of activity.
778 &quot;drive&quot;: { # Information about a shared drive. # The target is a shared drive.
779 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
780 &quot;root&quot;: { # A Drive item, such as a file or folder. # The root of this shared drive.
781 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
782 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
783 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
784 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
785 },
786 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
787 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
788 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
789 },
790 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
791 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
792 },
793 &quot;knownUser&quot;: { # A known user. # A known user.
794 &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/.
795 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
796 },
797 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
798 },
799 },
800 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
801 &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.
802 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
803 },
804 },
805 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
806 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
807 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
808 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
809 },
810 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
811 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
812 },
813 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
814 },
815 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
816 },
817 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
818 },
819 &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.
820 },
821 &quot;teamDrive&quot;: { # This item is deprecated; please see `Drive` instead. # This field is deprecated; please use the `drive` field instead.
822 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.title` instead.
823 &quot;root&quot;: { # A Drive item, such as a file or folder. # This field is deprecated; please see `Drive.root` instead.
824 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
825 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
826 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
827 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
828 },
829 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
830 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
831 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
832 },
833 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
834 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
835 },
836 &quot;knownUser&quot;: { # A known user. # A known user.
837 &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/.
838 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
839 },
840 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
841 },
842 },
843 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
844 &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.
845 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
846 },
847 },
848 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
849 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
850 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
851 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
852 },
853 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
854 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
855 },
856 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
857 },
858 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
859 },
860 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
861 },
862 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `Drive.name` instead.
863 },
864 &quot;fileComment&quot;: { # A comment on a file. # The target is a comment on a Drive file.
865 &quot;parent&quot;: { # A Drive item, such as a file or folder. # The Drive item containing this comment.
866 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
867 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
868 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
869 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
870 },
871 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
872 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
873 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
874 },
875 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
876 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
877 },
878 &quot;knownUser&quot;: { # A known user. # A known user.
879 &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/.
880 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
881 },
882 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
883 },
884 },
885 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
886 &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.
887 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
888 },
889 },
890 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
891 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
892 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
893 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
894 },
895 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
896 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
897 },
898 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
899 },
900 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
901 },
902 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
903 },
904 &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;.
905 &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
906 &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
907 },
908 &quot;driveItem&quot;: { # A Drive item, such as a file or folder. # The target is a Drive item.
909 &quot;owner&quot;: { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
910 &quot;domain&quot;: { # Information about a domain. # The domain of the Drive item owner.
911 &quot;legacyId&quot;: &quot;A String&quot;, # An opaque string used to identify this domain.
912 &quot;name&quot;: &quot;A String&quot;, # The name of the domain, e.g. &quot;google.com&quot;.
913 },
914 &quot;teamDrive&quot;: { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
915 &quot;title&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.title` instead.
916 &quot;name&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveReference.name` instead.
917 },
918 &quot;user&quot;: { # Information about an end user. # The user that owns the Drive item.
919 &quot;deletedUser&quot;: { # A user whose account has since been deleted. # A user whose account has since been deleted.
920 },
921 &quot;knownUser&quot;: { # A known user. # A known user.
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 &quot;isCurrentUser&quot;: True or False, # True if this is the user making the request.
924 },
925 &quot;unknownUser&quot;: { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
926 },
927 },
928 &quot;drive&quot;: { # A lightweight reference to a shared drive. # The drive that owns the item.
929 &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.
930 &quot;title&quot;: &quot;A String&quot;, # The title of the shared drive.
931 },
932 },
933 &quot;name&quot;: &quot;A String&quot;, # The target Drive item. The format is &quot;items/ITEM_ID&quot;.
934 &quot;title&quot;: &quot;A String&quot;, # The title of the Drive item.
935 &quot;driveFolder&quot;: { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of folder.
936 &quot;type&quot;: &quot;A String&quot;, # The type of Drive folder.
937 },
938 &quot;folder&quot;: { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
939 &quot;type&quot;: &quot;A String&quot;, # This field is deprecated; please see `DriveFolder.type` instead.
940 },
941 &quot;file&quot;: { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
942 },
943 &quot;driveFile&quot;: { # A Drive item which is a file. # The Drive item is a file.
944 },
945 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.
946 },
947 },
948 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700949 },
950 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800951 &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>