| class info |
| public class Drive.Comments extends java.lang.Object |
| Drive.Comments class. |
| Type | Name | Desc |
| class | Drive.Comments.Create | Declaration of the Drive.Comments.Create class. |
| class | Drive.Comments.Delete | Declaration of the Drive.Comments.Delete class. |
| class | Drive.Comments.Get | Declaration of the Drive.Comments.Get class. |
| class | Drive.Comments.List | Declaration of the Drive.Comments.List class. |
| class | Drive.Comments.Update | Declaration of the Drive.Comments.Update class. |
| Constructor name |
Comments() Constructor for the Drive.Comments class. |
| Return type | Method name |
| 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 on a file. |
| Drive.Comments.Get | get(String fileId, String commentId) Obtains a comment on a file. |
| Drive.Comments.List | list(String fileId) Obtains a file comment list. |
| Drive.Comments.Update | update(String fileId, String commentId, Comment content) Updates a file comment. |
| constructor |
| Drive.Comments() |
| Constructs a Drive.Comments object. |
| Method |
| public Drive.Comments.Create create(String fileId, Comment content) throws java.io.IOException |
| Creates a comment on a file. |
Parameters
| Parameter name | Parameter desc |
| fileId | File ID. |
| content | Comment content. |
Throws
| Parameter name | Parameter desc |
| java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |
Return
| type | desc |
| Drive.Comments.Create | A Drive.Comments.Create object. |
| Method |
public Drive.Comments.Delete delete(String fileId, String commentId) throws java.io.IOException |
| Deletes a comment on a file. |
Parameters
| Parameter name | Parameter desc |
| fileId | File ID. |
| commentId | Comment ID. |
Throws
| Parameter name | Parameter desc |
| java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |
Return
| type | desc |
| Drive.Comments.Delete | A Drive.Comments.Delete object. |
| Method |
public Drive.Comments.Get get(String fileId, String commentId) throws java.io.IOException |
| Obtains a comment on a file. |
Parameters
| Parameter name | Parameter desc |
| fileId | File ID. |
| commentId | Comment ID. |
Throws
| Parameter name | Parameter desc |
| java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |
Return
| type | desc |
| Drive.Comments.Get | A Drive.Comments.Get object. |
| Method |
public Drive.Comments.List list(String fileId) throws java.io.IOException |
| Obtains a file comment list. |
Parameters
| Parameter name | Parameter desc |
| fileId | File ID. |
Throws
| Parameter name | Parameter desc |
| java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |
Return
| type | desc |
| Drive.Comments.List | A Drive.Comments.List object. |
| Method |
public Drive.Comments.Update update(String fileId, String commentId, Comment content) throws java.io.IOException |
| Updates a file comment. |
Parameters
| Parameter name | Parameter desc |
| fileId | File ID. |
| commentId | Comment ID. |
| content | Comment content. |
Throws
| Parameter name | Parameter desc |
| java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |
Return
| type | desc |
| Drive.Comments.Update | A Drive.Comments.Update object. |