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 v3-rev20240123-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

      • create

        public Drive.Replies.Create create(String fileId,
                                           String commentId,
                                           Reply content)
                                    throws IOException
        Creates a reply to a comment. Create a request for the method "replies.create". 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 Reply
        Returns:
        the request
        Throws:
        IOException
      • 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 by ID. 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
      • list

        public Drive.Replies.List list(String fileId,
                                       String commentId)
                                throws IOException
        Lists a comment's replies. 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
      • update

        public Drive.Replies.Update update(String fileId,
                                           String commentId,
                                           String replyId,
                                           Reply content)
                                    throws IOException
        Updates a reply with patch semantics. 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 Reply
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy