blob: 1adb1a889e03a21c14bb9bd2495ce3ca97136422 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<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.comments.html">comments</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">
John Asmuth614db982014-04-24 15:46:26 -040081 <code><a href="#delete">delete(fileId, commentId)</a></code></p>
82<p class="firstline">Deletes a comment.</p>
83<p class="toc_element">
84 <code><a href="#get">get(fileId, commentId, includeDeleted=None)</a></code></p>
85<p class="firstline">Gets a comment by ID.</p>
86<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#insert">insert(fileId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Creates a new comment on the given file.</p>
89<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070090 <code><a href="#list">list(fileId, includeDeleted=None, maxResults=None, pageToken=None, updatedMin=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Lists a file's comments.</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">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code><a href="#patch">patch(fileId, commentId, body=None)</a></code></p>
97<p class="firstline">Updates an existing comment.</p>
John Asmuth614db982014-04-24 15:46:26 -040098<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070099 <code><a href="#update">update(fileId, commentId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400100<p class="firstline">Updates an existing comment.</p>
101<h3>Method Details</h3>
102<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105</div>
106
107<div class="method">
John Asmuth614db982014-04-24 15:46:26 -0400108 <code class="details" id="delete">delete(fileId, commentId)</code>
109 <pre>Deletes a comment.
110
111Args:
112 fileId: string, The ID of the file. (required)
113 commentId: string, The ID of the comment. (required)
114</pre>
115</div>
116
117<div class="method">
118 <code class="details" id="get">get(fileId, commentId, includeDeleted=None)</code>
119 <pre>Gets a comment by ID.
120
121Args:
122 fileId: string, The ID of the file. (required)
123 commentId: string, The ID of the comment. (required)
124 includeDeleted: boolean, If set, this will succeed when retrieving a deleted comment, and will include any deleted replies.
125
126Returns:
127 An object of the form:
128
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700129 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 &quot;anchor&quot;: &quot;A String&quot;, # A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
131 &quot;author&quot;: { # Information about a Drive user. # The author of the comment. The author&#x27;s email address and permission ID will not be populated.
132 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
133 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
134 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
135 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
136 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
137 &quot;picture&quot;: { # The user&#x27;s profile picture.
138 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400139 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700140 },
141 &quot;commentId&quot;: &quot;A String&quot;, # The ID of the comment.
142 &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment&#x27;s content.
143 &quot;context&quot;: { # The context of the file which is being commented on.
144 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the context snippet.
145 &quot;value&quot;: &quot;A String&quot;, # Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
146 },
147 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this comment was first created.
148 &quot;deleted&quot;: True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
149 &quot;fileId&quot;: &quot;A String&quot;, # The file which this comment is addressing.
150 &quot;fileTitle&quot;: &quot;A String&quot;, # The title of the file which this comment is addressing.
151 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this comment.
152 &quot;kind&quot;: &quot;drive#comment&quot;, # This is always drive#comment.
153 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this comment or any of its replies were last modified.
154 &quot;replies&quot;: [ # Replies to this post.
155 { # A comment on a file in Google Drive.
156 &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.
157 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
158 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
159 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
160 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
161 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
162 &quot;picture&quot;: { # The user&#x27;s profile picture.
163 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400164 },
John Asmuth614db982014-04-24 15:46:26 -0400165 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700166 &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).
167 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
168 &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.
169 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
170 &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
171 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
172 &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
173 &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:
174 # - &quot;resolve&quot; - To resolve a comment.
175 # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
John Asmuth614db982014-04-24 15:46:26 -0400176 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700177 ],
178 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this comment.
179 &quot;status&quot;: &quot;A String&quot;, # The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
180 # - &quot;open&quot; - The comment is still open.
181 # - &quot;resolved&quot; - The comment has been resolved by one of its replies.
182 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400183</div>
184
185<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700186 <code class="details" id="insert">insert(fileId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400187 <pre>Creates a new comment on the given file.
188
189Args:
190 fileId: string, The ID of the file. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700191 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400192 The object takes the form of:
193
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700194{ # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700195 &quot;anchor&quot;: &quot;A String&quot;, # A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
196 &quot;author&quot;: { # Information about a Drive user. # The author of the comment. The author&#x27;s email address and permission ID will not be populated.
197 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
198 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
199 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
200 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
201 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
202 &quot;picture&quot;: { # The user&#x27;s profile picture.
203 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400204 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 },
206 &quot;commentId&quot;: &quot;A String&quot;, # The ID of the comment.
207 &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment&#x27;s content.
208 &quot;context&quot;: { # The context of the file which is being commented on.
209 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the context snippet.
210 &quot;value&quot;: &quot;A String&quot;, # Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
211 },
212 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this comment was first created.
213 &quot;deleted&quot;: True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
214 &quot;fileId&quot;: &quot;A String&quot;, # The file which this comment is addressing.
215 &quot;fileTitle&quot;: &quot;A String&quot;, # The title of the file which this comment is addressing.
216 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this comment.
217 &quot;kind&quot;: &quot;drive#comment&quot;, # This is always drive#comment.
218 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this comment or any of its replies were last modified.
219 &quot;replies&quot;: [ # Replies to this post.
220 { # A comment on a file in Google Drive.
221 &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.
222 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
223 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
224 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
225 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
226 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
227 &quot;picture&quot;: { # The user&#x27;s profile picture.
228 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400229 },
John Asmuth614db982014-04-24 15:46:26 -0400230 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700231 &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).
232 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
233 &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.
234 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
235 &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
236 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
237 &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
238 &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:
239 # - &quot;resolve&quot; - To resolve a comment.
240 # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
John Asmuth614db982014-04-24 15:46:26 -0400241 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 ],
243 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this comment.
244 &quot;status&quot;: &quot;A String&quot;, # The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
245 # - &quot;open&quot; - The comment is still open.
246 # - &quot;resolved&quot; - The comment has been resolved by one of its replies.
247}
John Asmuth614db982014-04-24 15:46:26 -0400248
249
250Returns:
251 An object of the form:
252
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700253 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;anchor&quot;: &quot;A String&quot;, # A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
255 &quot;author&quot;: { # Information about a Drive user. # The author of the comment. The author&#x27;s email address and permission ID will not be populated.
256 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
257 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
258 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
259 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
260 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
261 &quot;picture&quot;: { # The user&#x27;s profile picture.
262 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400263 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700264 },
265 &quot;commentId&quot;: &quot;A String&quot;, # The ID of the comment.
266 &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment&#x27;s content.
267 &quot;context&quot;: { # The context of the file which is being commented on.
268 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the context snippet.
269 &quot;value&quot;: &quot;A String&quot;, # Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
270 },
271 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this comment was first created.
272 &quot;deleted&quot;: True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
273 &quot;fileId&quot;: &quot;A String&quot;, # The file which this comment is addressing.
274 &quot;fileTitle&quot;: &quot;A String&quot;, # The title of the file which this comment is addressing.
275 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this comment.
276 &quot;kind&quot;: &quot;drive#comment&quot;, # This is always drive#comment.
277 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this comment or any of its replies were last modified.
278 &quot;replies&quot;: [ # Replies to this post.
279 { # A comment on a file in Google Drive.
280 &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.
281 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
282 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
283 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
284 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
285 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
286 &quot;picture&quot;: { # The user&#x27;s profile picture.
287 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400288 },
John Asmuth614db982014-04-24 15:46:26 -0400289 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700290 &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).
291 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
292 &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.
293 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
294 &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
295 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
296 &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
297 &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:
298 # - &quot;resolve&quot; - To resolve a comment.
299 # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
John Asmuth614db982014-04-24 15:46:26 -0400300 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700301 ],
302 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this comment.
303 &quot;status&quot;: &quot;A String&quot;, # The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
304 # - &quot;open&quot; - The comment is still open.
305 # - &quot;resolved&quot; - The comment has been resolved by one of its replies.
306 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400307</div>
308
309<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700310 <code class="details" id="list">list(fileId, includeDeleted=None, maxResults=None, pageToken=None, updatedMin=None)</code>
311 <pre>Lists a file&#x27;s comments.
John Asmuth614db982014-04-24 15:46:26 -0400312
313Args:
314 fileId: string, The ID of the file. (required)
315 includeDeleted: boolean, If set, all comments and replies, including deleted comments and replies (with content stripped) will be returned.
John Asmuth614db982014-04-24 15:46:26 -0400316 maxResults: integer, The maximum number of discussions to include in the response, used for paging.
Bu Sun Kim65020912020-05-20 12:08:20 -0700317 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.
318 updatedMin: string, Only discussions that were updated after this timestamp will be returned. Formatted as an RFC 3339 timestamp.
John Asmuth614db982014-04-24 15:46:26 -0400319
320Returns:
321 An object of the form:
322
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700323 { # A list of comments on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700324 &quot;items&quot;: [ # The list of comments. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700325 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;anchor&quot;: &quot;A String&quot;, # A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
327 &quot;author&quot;: { # Information about a Drive user. # The author of the comment. The author&#x27;s email address and permission ID will not be populated.
328 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
329 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
330 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
331 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
332 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
333 &quot;picture&quot;: { # The user&#x27;s profile picture.
334 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400335 },
John Asmuth614db982014-04-24 15:46:26 -0400336 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 &quot;commentId&quot;: &quot;A String&quot;, # The ID of the comment.
338 &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment&#x27;s content.
339 &quot;context&quot;: { # The context of the file which is being commented on.
340 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the context snippet.
341 &quot;value&quot;: &quot;A String&quot;, # Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
342 },
343 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this comment was first created.
344 &quot;deleted&quot;: True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
345 &quot;fileId&quot;: &quot;A String&quot;, # The file which this comment is addressing.
346 &quot;fileTitle&quot;: &quot;A String&quot;, # The title of the file which this comment is addressing.
347 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this comment.
348 &quot;kind&quot;: &quot;drive#comment&quot;, # This is always drive#comment.
349 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this comment or any of its replies were last modified.
350 &quot;replies&quot;: [ # Replies to this post.
351 { # A comment on a file in Google Drive.
352 &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.
353 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
354 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
355 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
356 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
357 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
358 &quot;picture&quot;: { # The user&#x27;s profile picture.
359 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
360 },
361 },
362 &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).
363 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
364 &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.
365 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
366 &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
367 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
368 &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
369 &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:
370 # - &quot;resolve&quot; - To resolve a comment.
371 # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
372 },
373 ],
374 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this comment.
375 &quot;status&quot;: &quot;A String&quot;, # The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
376 # - &quot;open&quot; - The comment is still open.
377 # - &quot;resolved&quot; - The comment has been resolved by one of its replies.
378 },
John Asmuth614db982014-04-24 15:46:26 -0400379 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700380 &quot;kind&quot;: &quot;drive#commentList&quot;, # This is always drive#commentList.
381 &quot;nextLink&quot;: &quot;A String&quot;, # A link to the next page of comments.
382 &quot;nextPageToken&quot;: &quot;A String&quot;, # The page token for the next page of comments. This will be absent if the end of the comments 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.
383 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this list.
John Asmuth614db982014-04-24 15:46:26 -0400384 }</pre>
385</div>
386
387<div class="method">
388 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
389 <pre>Retrieves the next page of results.
390
391Args:
392 previous_request: The request for the previous page. (required)
393 previous_response: The response from the request for the previous page. (required)
394
395Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700396 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400397 page. Returns None if there are no more items in the collection.
398 </pre>
399</div>
400
401<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700402 <code class="details" id="patch">patch(fileId, commentId, body=None)</code>
403 <pre>Updates an existing comment.
John Asmuth614db982014-04-24 15:46:26 -0400404
405Args:
406 fileId: string, The ID of the file. (required)
407 commentId: string, The ID of the comment. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700408 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400409 The object takes the form of:
410
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700411{ # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700412 &quot;anchor&quot;: &quot;A String&quot;, # A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
413 &quot;author&quot;: { # Information about a Drive user. # The author of the comment. The author&#x27;s email address and permission ID will not be populated.
414 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
415 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
416 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
417 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
418 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
419 &quot;picture&quot;: { # The user&#x27;s profile picture.
420 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400421 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700422 },
423 &quot;commentId&quot;: &quot;A String&quot;, # The ID of the comment.
424 &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment&#x27;s content.
425 &quot;context&quot;: { # The context of the file which is being commented on.
426 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the context snippet.
427 &quot;value&quot;: &quot;A String&quot;, # Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
428 },
429 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this comment was first created.
430 &quot;deleted&quot;: True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
431 &quot;fileId&quot;: &quot;A String&quot;, # The file which this comment is addressing.
432 &quot;fileTitle&quot;: &quot;A String&quot;, # The title of the file which this comment is addressing.
433 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this comment.
434 &quot;kind&quot;: &quot;drive#comment&quot;, # This is always drive#comment.
435 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this comment or any of its replies were last modified.
436 &quot;replies&quot;: [ # Replies to this post.
437 { # A comment on a file in Google Drive.
438 &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.
439 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
440 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
441 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
442 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
443 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
444 &quot;picture&quot;: { # The user&#x27;s profile picture.
445 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400446 },
John Asmuth614db982014-04-24 15:46:26 -0400447 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700448 &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).
449 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
450 &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.
451 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
452 &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
453 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
454 &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
455 &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:
456 # - &quot;resolve&quot; - To resolve a comment.
457 # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
John Asmuth614db982014-04-24 15:46:26 -0400458 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700459 ],
460 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this comment.
461 &quot;status&quot;: &quot;A String&quot;, # The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
462 # - &quot;open&quot; - The comment is still open.
463 # - &quot;resolved&quot; - The comment has been resolved by one of its replies.
464}
John Asmuth614db982014-04-24 15:46:26 -0400465
466
467Returns:
468 An object of the form:
469
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700470 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700471 &quot;anchor&quot;: &quot;A String&quot;, # A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
472 &quot;author&quot;: { # Information about a Drive user. # The author of the comment. The author&#x27;s email address and permission ID will not be populated.
473 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
474 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
475 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
476 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
477 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
478 &quot;picture&quot;: { # The user&#x27;s profile picture.
479 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400480 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700481 },
482 &quot;commentId&quot;: &quot;A String&quot;, # The ID of the comment.
483 &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment&#x27;s content.
484 &quot;context&quot;: { # The context of the file which is being commented on.
485 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the context snippet.
486 &quot;value&quot;: &quot;A String&quot;, # Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
487 },
488 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this comment was first created.
489 &quot;deleted&quot;: True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
490 &quot;fileId&quot;: &quot;A String&quot;, # The file which this comment is addressing.
491 &quot;fileTitle&quot;: &quot;A String&quot;, # The title of the file which this comment is addressing.
492 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this comment.
493 &quot;kind&quot;: &quot;drive#comment&quot;, # This is always drive#comment.
494 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this comment or any of its replies were last modified.
495 &quot;replies&quot;: [ # Replies to this post.
496 { # A comment on a file in Google Drive.
497 &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.
498 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
499 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
500 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
501 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
502 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
503 &quot;picture&quot;: { # The user&#x27;s profile picture.
504 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400505 },
John Asmuth614db982014-04-24 15:46:26 -0400506 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700507 &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).
508 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
509 &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.
510 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
511 &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
512 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
513 &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
514 &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:
515 # - &quot;resolve&quot; - To resolve a comment.
516 # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
John Asmuth614db982014-04-24 15:46:26 -0400517 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 ],
519 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this comment.
520 &quot;status&quot;: &quot;A String&quot;, # The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
521 # - &quot;open&quot; - The comment is still open.
522 # - &quot;resolved&quot; - The comment has been resolved by one of its replies.
523 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400524</div>
525
526<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700527 <code class="details" id="update">update(fileId, commentId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400528 <pre>Updates an existing comment.
529
530Args:
531 fileId: string, The ID of the file. (required)
532 commentId: string, The ID of the comment. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700533 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400534 The object takes the form of:
535
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700536{ # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700537 &quot;anchor&quot;: &quot;A String&quot;, # A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
538 &quot;author&quot;: { # Information about a Drive user. # The author of the comment. The author&#x27;s email address and permission ID will not be populated.
539 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
540 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
541 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
542 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
543 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
544 &quot;picture&quot;: { # The user&#x27;s profile picture.
545 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400546 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700547 },
548 &quot;commentId&quot;: &quot;A String&quot;, # The ID of the comment.
549 &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment&#x27;s content.
550 &quot;context&quot;: { # The context of the file which is being commented on.
551 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the context snippet.
552 &quot;value&quot;: &quot;A String&quot;, # Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
553 },
554 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this comment was first created.
555 &quot;deleted&quot;: True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
556 &quot;fileId&quot;: &quot;A String&quot;, # The file which this comment is addressing.
557 &quot;fileTitle&quot;: &quot;A String&quot;, # The title of the file which this comment is addressing.
558 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this comment.
559 &quot;kind&quot;: &quot;drive#comment&quot;, # This is always drive#comment.
560 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this comment or any of its replies were last modified.
561 &quot;replies&quot;: [ # Replies to this post.
562 { # A comment on a file in Google Drive.
563 &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.
564 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
565 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
566 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
567 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
568 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
569 &quot;picture&quot;: { # The user&#x27;s profile picture.
570 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400571 },
John Asmuth614db982014-04-24 15:46:26 -0400572 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700573 &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).
574 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
575 &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.
576 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
577 &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
578 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
579 &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
580 &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:
581 # - &quot;resolve&quot; - To resolve a comment.
582 # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
John Asmuth614db982014-04-24 15:46:26 -0400583 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700584 ],
585 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this comment.
586 &quot;status&quot;: &quot;A String&quot;, # The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
587 # - &quot;open&quot; - The comment is still open.
588 # - &quot;resolved&quot; - The comment has been resolved by one of its replies.
589}
John Asmuth614db982014-04-24 15:46:26 -0400590
591
592Returns:
593 An object of the form:
594
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700595 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700596 &quot;anchor&quot;: &quot;A String&quot;, # A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
597 &quot;author&quot;: { # Information about a Drive user. # The author of the comment. The author&#x27;s email address and permission ID will not be populated.
598 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
599 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
600 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
601 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
602 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
603 &quot;picture&quot;: { # The user&#x27;s profile picture.
604 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400605 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700606 },
607 &quot;commentId&quot;: &quot;A String&quot;, # The ID of the comment.
608 &quot;content&quot;: &quot;A String&quot;, # The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment&#x27;s content.
609 &quot;context&quot;: { # The context of the file which is being commented on.
610 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the context snippet.
611 &quot;value&quot;: &quot;A String&quot;, # Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
612 },
613 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this comment was first created.
614 &quot;deleted&quot;: True or False, # Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
615 &quot;fileId&quot;: &quot;A String&quot;, # The file which this comment is addressing.
616 &quot;fileTitle&quot;: &quot;A String&quot;, # The title of the file which this comment is addressing.
617 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this comment.
618 &quot;kind&quot;: &quot;drive#comment&quot;, # This is always drive#comment.
619 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this comment or any of its replies were last modified.
620 &quot;replies&quot;: [ # Replies to this post.
621 { # A comment on a file in Google Drive.
622 &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.
623 &quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
624 &quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
625 &quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
626 &quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
627 &quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
628 &quot;picture&quot;: { # The user&#x27;s profile picture.
629 &quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
John Asmuth614db982014-04-24 15:46:26 -0400630 },
John Asmuth614db982014-04-24 15:46:26 -0400631 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700632 &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).
633 &quot;createdDate&quot;: &quot;A String&quot;, # The date when this reply was first created.
634 &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.
635 &quot;htmlContent&quot;: &quot;A String&quot;, # HTML formatted content for this reply.
636 &quot;kind&quot;: &quot;drive#commentReply&quot;, # This is always drive#commentReply.
637 &quot;modifiedDate&quot;: &quot;A String&quot;, # The date when this reply was last modified.
638 &quot;replyId&quot;: &quot;A String&quot;, # The ID of the reply.
639 &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:
640 # - &quot;resolve&quot; - To resolve a comment.
641 # - &quot;reopen&quot; - To reopen (un-resolve) a comment.
John Asmuth614db982014-04-24 15:46:26 -0400642 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700643 ],
644 &quot;selfLink&quot;: &quot;A String&quot;, # A link back to this comment.
645 &quot;status&quot;: &quot;A String&quot;, # The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
646 # - &quot;open&quot; - The comment is still open.
647 # - &quot;resolved&quot; - The comment has been resolved by one of its replies.
648 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400649</div>
650
651</body></html>