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 Comment
IOException
public 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.IOException
public 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.IOException
public Drive.Comments.List list(String fileId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.IOException
public 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 Comment
IOException
Copyright © 2011–2024 Google. All rights reserved.