Drive API v2 (revision 47)



com.google.api.services.drive
Class Drive.Replies

java.lang.Object
  extended by com.google.api.services.drive.Drive.Replies
Enclosing class:
Drive

public class Drive.Replies
extends java.lang.Object

The "replies" collection of methods.


Nested Class Summary
 class Drive.Replies.Delete
           
 class Drive.Replies.Get
           
 class Drive.Replies.Insert
           
 class Drive.Replies.List
           
 class Drive.Replies.Patch
           
 class Drive.Replies.Update
           
 
Constructor Summary
Drive.Replies()
           
 
Method Summary
 Drive.Replies.Delete delete(java.lang.String fileId, java.lang.String commentId, java.lang.String replyId)
          Deletes a reply.
 Drive.Replies.Get get(java.lang.String fileId, java.lang.String commentId, java.lang.String replyId)
          Gets a reply.
 Drive.Replies.Insert insert(java.lang.String fileId, java.lang.String commentId, CommentReply content)
          Creates a new reply to the given comment.
 Drive.Replies.List list(java.lang.String fileId, java.lang.String commentId)
          Lists all of the replies to a comment.
 Drive.Replies.Patch patch(java.lang.String fileId, java.lang.String commentId, java.lang.String replyId, CommentReply content)
          Updates an existing reply.
 Drive.Replies.Update update(java.lang.String fileId, java.lang.String commentId, java.lang.String replyId, CommentReply content)
          Updates an existing reply.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Drive.Replies

public Drive.Replies()
Method Detail

delete

public Drive.Replies.Delete delete(java.lang.String fileId,
                                   java.lang.String commentId,
                                   java.lang.String replyId)
                            throws java.io.IOException
Deletes a reply. Create a request for the method "replies.delete". This request holds the parameters needed by the the drive server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
fileId - The ID of the file.
commentId - The ID of the comment.
replyId - The ID of the reply.
Returns:
the request
Throws:
java.io.IOException

get

public Drive.Replies.Get get(java.lang.String fileId,
                             java.lang.String commentId,
                             java.lang.String replyId)
                      throws java.io.IOException
Gets a reply. Create a request for the method "replies.get". This request holds the parameters needed by the the drive server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
fileId - The ID of the file.
commentId - The ID of the comment.
replyId - The ID of the reply.
Returns:
the request
Throws:
java.io.IOException

insert

public Drive.Replies.Insert insert(java.lang.String fileId,
                                   java.lang.String commentId,
                                   CommentReply content)
                            throws java.io.IOException
Creates a new reply to the given comment. Create a request for the method "replies.insert". This request holds the parameters needed by the the drive server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
fileId - The ID of the file.
commentId - The ID of the comment.
content - the CommentReply
Returns:
the request
Throws:
java.io.IOException

list

public Drive.Replies.List list(java.lang.String fileId,
                               java.lang.String commentId)
                        throws java.io.IOException
Lists all of the replies to a comment. Create a request for the method "replies.list". This request holds the parameters needed by the the drive server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
fileId - The ID of the file.
commentId - The ID of the comment.
Returns:
the request
Throws:
java.io.IOException

patch

public Drive.Replies.Patch patch(java.lang.String fileId,
                                 java.lang.String commentId,
                                 java.lang.String replyId,
                                 CommentReply content)
                          throws java.io.IOException
Updates an existing reply. This method supports patch semantics. Create a request for the method "replies.patch". This request holds the parameters needed by the the drive server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
fileId - The ID of the file.
commentId - The ID of the comment.
replyId - The ID of the reply.
content - the CommentReply
Returns:
the request
Throws:
java.io.IOException

update

public Drive.Replies.Update update(java.lang.String fileId,
                                   java.lang.String commentId,
                                   java.lang.String replyId,
                                   CommentReply content)
                            throws java.io.IOException
Updates an existing reply. Create a request for the method "replies.update". This request holds the parameters needed by the the drive server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
fileId - The ID of the file.
commentId - The ID of the comment.
replyId - The ID of the reply.
content - the CommentReply
Returns:
the request
Throws:
java.io.IOException