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

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

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






Drive.Files.Accessproposals (Google Drive API v3-rev20241027-2.0.0)












com.google.api.services.drive

Class Drive.Files.Accessproposals

  • Enclosing class:
    Drive.Files


    public class Drive.Files.Accessproposals
    extends Object
    The "accessproposals" collection of methods.
    • Constructor Detail

      • Accessproposals

        public Accessproposals()
    • Method Detail

      • list

        public Drive.Files.Accessproposals.List list(String fileId)
                                              throws IOException
        List the AccessProposals on a file. Note: Only approvers are able to list AccessProposals on a file. If the user is not an approver, returns a 403. Create a request for the method "accessproposals.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 - Required. The id of the item the request is on.
        Returns:
        the request
        Throws:
        IOException
      • resolve

        public Drive.Files.Accessproposals.Resolve resolve(String fileId,
                                                           String proposalId)
                                                    throws IOException
        Used to approve or deny an Access Proposal. Create a request for the method "accessproposals.resolve". 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 - Required. The id of the item the request is on.
        proposalId - Required. The id of the access proposal to resolve.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy