| Modifier and Type | Class and Description | 
|---|---|
class  | 
Drive.Comments.Create  | 
class  | 
Drive.Comments.Delete  | 
class  | 
Drive.Comments.Get  | 
class  | 
Drive.Comments.List  | 
class  | 
Drive.Comments.Update  | 
| Constructor and Description | 
|---|
Comments()  | 
| Modifier and Type | Method and Description | 
|---|---|
Drive.Comments.Create | 
create(String fileId,
      Comment content)
Creates a comment on a file. 
 | 
Drive.Comments.Delete | 
delete(String fileId,
      String commentId)
Deletes a comment. 
 | 
Drive.Comments.Get | 
get(String fileId,
   String commentId)
Gets a comment by ID. 
 | 
Drive.Comments.List | 
list(String fileId)
Lists a file's comments. 
 | 
Drive.Comments.Update | 
update(String fileId,
      String commentId,
      Comment content)
Updates a comment with patch semantics. 
 | 
public Drive.Comments.Create create(String fileId, Comment content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.content - the CommentIOExceptionpublic Drive.Comments.Delete delete(String fileId, String commentId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.commentId - The ID of the comment.IOExceptionpublic Drive.Comments.Get get(String fileId, String commentId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.commentId - The ID of the comment.IOExceptionpublic Drive.Comments.List list(String fileId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.IOExceptionpublic Drive.Comments.Update update(String fileId, String commentId, Comment content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.commentId - The ID of the comment.content - the CommentIOExceptionCopyright © 2011–2025 Google. All rights reserved.