1<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="drive_v2.html">Drive API</a> . <a href="drive_v2.replies.html">replies</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#delete">delete(fileId, commentId, replyId)</a></code></p>
82<p class="firstline">Deletes a reply.</p>
83<p class="toc_element">
84  <code><a href="#get">get(fileId, commentId, replyId, includeDeleted=None)</a></code></p>
85<p class="firstline">Gets a reply.</p>
86<p class="toc_element">
87  <code><a href="#insert">insert(fileId, commentId, body=None)</a></code></p>
88<p class="firstline">Creates a new reply to the given comment.</p>
89<p class="toc_element">
90  <code><a href="#list">list(fileId, commentId, includeDeleted=None, maxResults=None, pageToken=None)</a></code></p>
91<p class="firstline">Lists all of the replies to a comment.</p>
92<p class="toc_element">
93  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
96  <code><a href="#patch">patch(fileId, commentId, replyId, body=None)</a></code></p>
97<p class="firstline">Updates an existing reply.</p>
98<p class="toc_element">
99  <code><a href="#update">update(fileId, commentId, replyId, body=None)</a></code></p>
100<p class="firstline">Updates an existing reply.</p>
101<h3>Method Details</h3>
102<div class="method">
103    <code class="details" id="close">close()</code>
104  <pre>Close httplib2 connections.</pre>
105</div>
106
107<div class="method">
108    <code class="details" id="delete">delete(fileId, commentId, replyId)</code>
109  <pre>Deletes a reply.
110
111Args:
112  fileId: string, The ID of the file. (required)
113  commentId: string, The ID of the comment. (required)
114  replyId: string, The ID of the reply. (required)
115</pre>
116</div>
117
118<div class="method">
119    <code class="details" id="get">get(fileId, commentId, replyId, includeDeleted=None)</code>
120  <pre>Gets a reply.
121
122Args:
123  fileId: string, The ID of the file. (required)
124  commentId: string, The ID of the comment. (required)
125  replyId: string, The ID of the reply. (required)
126  includeDeleted: boolean, If set, this will succeed when retrieving a deleted reply.
127
128Returns:
129  An object of the form:
130
131    { # A comment on a file in Google Drive.
132  &quot;author&quot;: { # Information about a Drive user. # The author of the reply. The author&#x27;s email address and permission ID will not be populated.
133    &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
134    &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
135    &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
136    &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
137    &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
138    &quot;picture&quot;: { # The user&#x27;s profile picture.
139      &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
140    },
141  },
142  &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply&#x27;s content. This field is required on inserts if no verb is specified (resolve/reopen).
143  &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
144  &quot;deleted&quot;: True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
145  &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
146  &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
147  &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
148  &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
149  &quot;verb&quot;: &quot;A String&quot;, # The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
150      # - &quot;resolve&quot; - To resolve a comment.
151      # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
152}</pre>
153</div>
154
155<div class="method">
156    <code class="details" id="insert">insert(fileId, commentId, body=None)</code>
157  <pre>Creates a new reply to the given comment.
158
159Args:
160  fileId: string, The ID of the file. (required)
161  commentId: string, The ID of the comment. (required)
162  body: object, The request body.
163    The object takes the form of:
164
165{ # A comment on a file in Google Drive.
166  &quot;author&quot;: { # Information about a Drive user. # The author of the reply. The author&#x27;s email address and permission ID will not be populated.
167    &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
168    &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
169    &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
170    &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
171    &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
172    &quot;picture&quot;: { # The user&#x27;s profile picture.
173      &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
174    },
175  },
176  &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply&#x27;s content. This field is required on inserts if no verb is specified (resolve/reopen).
177  &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
178  &quot;deleted&quot;: True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
179  &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
180  &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
181  &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
182  &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
183  &quot;verb&quot;: &quot;A String&quot;, # The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
184      # - &quot;resolve&quot; - To resolve a comment.
185      # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
186}
187
188
189Returns:
190  An object of the form:
191
192    { # A comment on a file in Google Drive.
193  &quot;author&quot;: { # Information about a Drive user. # The author of the reply. The author&#x27;s email address and permission ID will not be populated.
194    &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
195    &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
196    &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
197    &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
198    &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
199    &quot;picture&quot;: { # The user&#x27;s profile picture.
200      &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
201    },
202  },
203  &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply&#x27;s content. This field is required on inserts if no verb is specified (resolve/reopen).
204  &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
205  &quot;deleted&quot;: True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
206  &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
207  &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
208  &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
209  &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
210  &quot;verb&quot;: &quot;A String&quot;, # The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
211      # - &quot;resolve&quot; - To resolve a comment.
212      # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
213}</pre>
214</div>
215
216<div class="method">
217    <code class="details" id="list">list(fileId, commentId, includeDeleted=None, maxResults=None, pageToken=None)</code>
218  <pre>Lists all of the replies to a comment.
219
220Args:
221  fileId: string, The ID of the file. (required)
222  commentId: string, The ID of the comment. (required)
223  includeDeleted: boolean, If set, all replies, including deleted replies (with content stripped) will be returned.
224  maxResults: integer, The maximum number of replies to include in the response, used for paging.
225  pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of &quot;nextPageToken&quot; from the previous response.
226
227Returns:
228  An object of the form:
229
230    { # A list of replies to a comment on a file in Google Drive.
231  &quot;items&quot;: [ # The list of replies. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
232    { # A comment on a file in Google Drive.
233      &quot;author&quot;: { # Information about a Drive user. # The author of the reply. The author&#x27;s email address and permission ID will not be populated.
234        &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
235        &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
236        &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
237        &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
238        &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
239        &quot;picture&quot;: { # The user&#x27;s profile picture.
240          &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
241        },
242      },
243      &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply&#x27;s content. This field is required on inserts if no verb is specified (resolve/reopen).
244      &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
245      &quot;deleted&quot;: True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
246      &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
247      &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
248      &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
249      &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
250      &quot;verb&quot;: &quot;A String&quot;, # The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
251          # - &quot;resolve&quot; - To resolve a comment.
252          # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
253    },
254  ],
255  &quot;kind&quot;: &quot;drive#commentReplyList&quot;, # This is always drive#commentReplyList.
256  &quot;nextLink&quot;: &quot;A String&quot;, # A link to the next page of replies.
257  &quot;nextPageToken&quot;: &quot;A String&quot;, # The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
258  &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this list.
259}</pre>
260</div>
261
262<div class="method">
263    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
264  <pre>Retrieves the next page of results.
265
266Args:
267  previous_request: The request for the previous page. (required)
268  previous_response: The response from the request for the previous page. (required)
269
270Returns:
271  A request object that you can call &#x27;execute()&#x27; on to request the next
272  page. Returns None if there are no more items in the collection.
273    </pre>
274</div>
275
276<div class="method">
277    <code class="details" id="patch">patch(fileId, commentId, replyId, body=None)</code>
278  <pre>Updates an existing reply.
279
280Args:
281  fileId: string, The ID of the file. (required)
282  commentId: string, The ID of the comment. (required)
283  replyId: string, The ID of the reply. (required)
284  body: object, The request body.
285    The object takes the form of:
286
287{ # A comment on a file in Google Drive.
288  &quot;author&quot;: { # Information about a Drive user. # The author of the reply. The author&#x27;s email address and permission ID will not be populated.
289    &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
290    &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
291    &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
292    &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
293    &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
294    &quot;picture&quot;: { # The user&#x27;s profile picture.
295      &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
296    },
297  },
298  &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply&#x27;s content. This field is required on inserts if no verb is specified (resolve/reopen).
299  &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
300  &quot;deleted&quot;: True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
301  &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
302  &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
303  &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
304  &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
305  &quot;verb&quot;: &quot;A String&quot;, # The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
306      # - &quot;resolve&quot; - To resolve a comment.
307      # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
308}
309
310
311Returns:
312  An object of the form:
313
314    { # A comment on a file in Google Drive.
315  &quot;author&quot;: { # Information about a Drive user. # The author of the reply. The author&#x27;s email address and permission ID will not be populated.
316    &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
317    &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
318    &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
319    &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
320    &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
321    &quot;picture&quot;: { # The user&#x27;s profile picture.
322      &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
323    },
324  },
325  &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply&#x27;s content. This field is required on inserts if no verb is specified (resolve/reopen).
326  &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
327  &quot;deleted&quot;: True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
328  &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
329  &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
330  &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
331  &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
332  &quot;verb&quot;: &quot;A String&quot;, # The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
333      # - &quot;resolve&quot; - To resolve a comment.
334      # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
335}</pre>
336</div>
337
338<div class="method">
339    <code class="details" id="update">update(fileId, commentId, replyId, body=None)</code>
340  <pre>Updates an existing reply.
341
342Args:
343  fileId: string, The ID of the file. (required)
344  commentId: string, The ID of the comment. (required)
345  replyId: string, The ID of the reply. (required)
346  body: object, The request body.
347    The object takes the form of:
348
349{ # A comment on a file in Google Drive.
350  &quot;author&quot;: { # Information about a Drive user. # The author of the reply. The author&#x27;s email address and permission ID will not be populated.
351    &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
352    &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
353    &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
354    &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
355    &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
356    &quot;picture&quot;: { # The user&#x27;s profile picture.
357      &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
358    },
359  },
360  &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply&#x27;s content. This field is required on inserts if no verb is specified (resolve/reopen).
361  &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
362  &quot;deleted&quot;: True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
363  &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
364  &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
365  &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
366  &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
367  &quot;verb&quot;: &quot;A String&quot;, # The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
368      # - &quot;resolve&quot; - To resolve a comment.
369      # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
370}
371
372
373Returns:
374  An object of the form:
375
376    { # A comment on a file in Google Drive.
377  &quot;author&quot;: { # Information about a Drive user. # The author of the reply. The author&#x27;s email address and permission ID will not be populated.
378    &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
379    &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
380    &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
381    &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
382    &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
383    &quot;picture&quot;: { # The user&#x27;s profile picture.
384      &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
385    },
386  },
387  &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply&#x27;s content. This field is required on inserts if no verb is specified (resolve/reopen).
388  &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
389  &quot;deleted&quot;: True or False, # Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
390  &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
391  &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
392  &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
393  &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
394  &quot;verb&quot;: &quot;A String&quot;, # The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
395      # - &quot;resolve&quot; - To resolve a comment.
396      # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
397}</pre>
398</div>
399
400</body></html>