All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.drive.Drive.Replies.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241027-2.0.0
Show newest version






Drive.Replies (Google Drive API v2-rev20240809-2.0.0)












com.google.api.services.drive

Class Drive.Replies

  • Enclosing class:
    Drive


    public class Drive.Replies
    extends Object
    The "replies" collection of methods.
    • Constructor Detail

      • Replies

        public Replies()
    • Method Detail

      • delete

        public Drive.Replies.Delete delete(String fileId,
                                           String commentId,
                                           String replyId)
                                    throws IOException
        Deletes a reply. Create a request for the method "replies.delete". This request holds the parameters needed by 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:
        IOException
      • get

        public Drive.Replies.Get get(String fileId,
                                     String commentId,
                                     String replyId)
                              throws IOException
        Gets a reply. Create a request for the method "replies.get". This request holds the parameters needed by 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:
        IOException
      • insert

        public Drive.Replies.Insert insert(String fileId,
                                           String commentId,
                                           CommentReply content)
                                    throws 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 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:
        IOException
      • list

        public Drive.Replies.List list(String fileId,
                                       String commentId)
                                throws 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 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:
        IOException
      • patch

        public Drive.Replies.Patch patch(String fileId,
                                         String commentId,
                                         String replyId,
                                         CommentReply content)
                                  throws IOException
        Updates an existing reply. Create a request for the method "replies.patch". This request holds the parameters needed by 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:
        IOException
      • update

        public Drive.Replies.Update update(String fileId,
                                           String commentId,
                                           String replyId,
                                           CommentReply content)
                                    throws IOException
        Updates an existing reply. Create a request for the method "replies.update". This request holds the parameters needed by 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:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy