blob: ac4bbd138b4b8f6f7cf909aa3a626929ab00a298 [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.replies.html">replies</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, 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">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#insert">insert(fileId, commentId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Creates a new reply to the given comment.</p>
89<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070090 <code><a href="#list">list(fileId, commentId, includeDeleted=None, maxResults=None, pageToken=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<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">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code><a href="#patch">patch(fileId, commentId, replyId, body=None)</a></code></p>
97<p class="firstline">Updates an existing reply.</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, replyId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400100<p class="firstline">Updates an existing reply.</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, 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
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700131 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 &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.
John Asmuth614db982014-04-24 15:46:26 -0400140 },
John Asmuth614db982014-04-24 15:46:26 -0400141 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 &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.
John Asmuth614db982014-04-24 15:46:26 -0400152 }</pre>
153</div>
154
155<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700156 <code class="details" id="insert">insert(fileId, commentId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400157 <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)
Dan O'Mearadd494642020-05-01 07:42:23 -0700162 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400163 The object takes the form of:
164
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700165{ # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700166 &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.
John Asmuth614db982014-04-24 15:46:26 -0400174 },
John Asmuth614db982014-04-24 15:46:26 -0400175 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700176 &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.
John Asmuth614db982014-04-24 15:46:26 -0400186}
187
188
189Returns:
190 An object of the form:
191
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700192 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700193 &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.
John Asmuth614db982014-04-24 15:46:26 -0400201 },
John Asmuth614db982014-04-24 15:46:26 -0400202 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700203 &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.
John Asmuth614db982014-04-24 15:46:26 -0400213 }</pre>
214</div>
215
216<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700217 <code class="details" id="list">list(fileId, commentId, includeDeleted=None, maxResults=None, pageToken=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400218 <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.
John Asmuth614db982014-04-24 15:46:26 -0400224 maxResults: integer, The maximum number of replies to include in the response, used for paging.
Bu Sun Kim65020912020-05-20 12:08:20 -0700225 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.
John Asmuth614db982014-04-24 15:46:26 -0400226
227Returns:
228 An object of the form:
229
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700230 { # A list of replies to a comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700231 &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.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700232 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 &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.
John Asmuth614db982014-04-24 15:46:26 -0400241 },
John Asmuth614db982014-04-24 15:46:26 -0400242 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &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.
John Asmuth614db982014-04-24 15:46:26 -0400253 },
254 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700255 &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.
John Asmuth614db982014-04-24 15:46:26 -0400259 }</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:
Bu Sun Kim65020912020-05-20 12:08:20 -0700271 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400272 page. Returns None if there are no more items in the collection.
273 </pre>
274</div>
275
276<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700277 <code class="details" id="patch">patch(fileId, commentId, replyId, body=None)</code>
278 <pre>Updates an existing reply.
John Asmuth614db982014-04-24 15:46:26 -0400279
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)
Dan O'Mearadd494642020-05-01 07:42:23 -0700284 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400285 The object takes the form of:
286
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700287{ # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700288 &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.
John Asmuth614db982014-04-24 15:46:26 -0400296 },
John Asmuth614db982014-04-24 15:46:26 -0400297 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700298 &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.
John Asmuth614db982014-04-24 15:46:26 -0400308}
309
310
311Returns:
312 An object of the form:
313
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700314 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700315 &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.
John Asmuth614db982014-04-24 15:46:26 -0400323 },
John Asmuth614db982014-04-24 15:46:26 -0400324 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700325 &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.
John Asmuth614db982014-04-24 15:46:26 -0400335 }</pre>
336</div>
337
338<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700339 <code class="details" id="update">update(fileId, commentId, replyId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400340 <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)
Dan O'Mearadd494642020-05-01 07:42:23 -0700346 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400347 The object takes the form of:
348
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700349{ # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700350 &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.
John Asmuth614db982014-04-24 15:46:26 -0400358 },
John Asmuth614db982014-04-24 15:46:26 -0400359 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700360 &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.
John Asmuth614db982014-04-24 15:46:26 -0400370}
371
372
373Returns:
374 An object of the form:
375
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700376 { # A comment on a file in Google Drive.
Bu Sun Kim65020912020-05-20 12:08:20 -0700377 &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.
John Asmuth614db982014-04-24 15:46:26 -0400385 },
John Asmuth614db982014-04-24 15:46:26 -0400386 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700387 &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.
John Asmuth614db982014-04-24 15:46:26 -0400397 }</pre>
398</div>
399
400</body></html>