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