public class Drive.Comments
extends java.lang.Object
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 |
---|
Drive.Comments() |
Modifier and Type | Method and Description |
---|---|
Drive.Comments.Create |
create(java.lang.String fileId,
Comment content)
Creates a new comment on a file.
|
Drive.Comments.Delete |
delete(java.lang.String fileId,
java.lang.String commentId)
Deletes a comment.
|
Drive.Comments.Get |
get(java.lang.String fileId,
java.lang.String commentId)
Gets a comment by ID.
|
Drive.Comments.List |
list(java.lang.String fileId)
Lists a file's comments.
|
Drive.Comments.Update |
update(java.lang.String fileId,
java.lang.String commentId,
Comment content)
Updates a comment with patch semantics.
|
public Drive.Comments.Create create(java.lang.String fileId, Comment content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.content
- the Comment
java.io.IOException
public Drive.Comments.Delete delete(java.lang.String fileId, java.lang.String commentId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.commentId
- The ID of the comment.java.io.IOException
public Drive.Comments.Get get(java.lang.String fileId, java.lang.String commentId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.commentId
- The ID of the comment.java.io.IOException
public Drive.Comments.List list(java.lang.String fileId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.java.io.IOException
public Drive.Comments.Update update(java.lang.String fileId, java.lang.String commentId, Comment content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.commentId
- The ID of the comment.content
- the Comment
java.io.IOException