目录

class info
public class Drive.Replies extends java.lang.Object
Drive.Replies class.

Nested Class Summary

TypeNameDesc
classDrive.Replies.CreateDeclaration of the Drive.Replies.Create class.
classDrive.Replies.DeleteDeclaration of the Drive.Replies.Delete class.
classDrive.Replies.GetDeclaration of the Drive.Replies.Get class.
classDrive.Replies.ListDeclaration of the Drive.Replies.List class.
classDrive.Replies.UpdateDeclaration of the Drive.Replies.Update class.

Public Constructor Summary

Constructor name

Replies()

Constructor for the Drive.Replies class.

Public Method Summary

Return typeMethod name
Drive.Replies.Create

create(String fileId, String commentId, Reply content)

Replies to a comment.

Drive.Replies.Delete

delete(String fileId, String commentId, String replyId)

Deletes a reply to a comment.

Drive.Replies.Get

get(String fileId, String commentId, String replyId)

Obtains a reply by ID.

Drive.Replies.List

list(String fileId, String commentId)

Lists all replies to a comment.

Drive.Replies.Update

update(String fileId, String commentId, String replyId, Reply content)

Updates a reply to a comment.

Public Constructor

constructor
Drive.Replies ()
Constructs a Drive.Replies object.

Public Methods

Method
public Drive.Replies.Create create create(String fileId, String commentId, Reply content) throws java.io.IOException
Replies to a comment.

Parameters

Parameter nameParameter desc
fileIdID of a file whose comment is replied.
commentIdComment ID.
contentReply.

Throws

Parameter nameParameter desc
java.io.IOExceptionI/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description.

Return

typedesc
Drive.Replies.CreateA Drive.Replies.Create object.
Method


public Drive.Replies.Delete delete(String fileId, String commentId, String replyId) throws java.io.IOException

Deletes a reply to a comment.

Parameters

Parameter nameParameter desc
fileIdFile ID.
commentIdComment ID.
replyIdReply ID.

Throws

Parameter nameParameter desc
java.io.IOExceptionI/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description.

Return

typedesc
Drive.Replies.DeleteA Drive.Replies.Delete object.
Method


public Drive.Replies.Get get(String fileId, String commentId, String replyId) throws java.io.IOException

Obtains a reply by ID.

Parameters

Parameter nameParameter desc
fileIdFile ID.
commentIdComment ID.
replyIdReply ID.

Throws

Parameter nameParameter desc
java.io.IOExceptionI/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description.

Return

typedesc
Drive.Replies.GetA Drive.Replies.Get object.
Method


public Drive.Replies.List list(String fileId, String commentId) throws java.io.IOException

Lists all replies to a comment.

Parameters

Parameter nameParameter desc
fileIdID of a file whose comment is replied.
commentIdComment ID.

Throws

Parameter nameParameter desc
java.io.IOExceptionI/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description.

Return

typedesc
Drive.Replies.ListA Drive.Replies.List object.
Method


public Drive.Replies.Update update(String fileId, String commentId, String replyId, Reply content) throws java.io.IOException

Updates a reply to a comment.

Parameters

Parameter nameParameter desc
fileIdID of a file whose comment is replied.
commentIdComment ID.
replyIdReply ID.
contentReply.

Throws

Parameter nameParameter desc
java.io.IOExceptionI/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description.

Return

typedesc
Drive.Replies.UpdateA Drive.Replies.Update object.