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

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

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






Drive.Permissions.Insert (Drive API v2-rev20180830-1.26.0)












com.google.api.services.drive

Class Drive.Permissions.Insert

    • Constructor Detail

      • Insert

        protected Insert(String fileId,
                         Permission content)
        Inserts a permission for a file or Team Drive. Create a request for the method "permissions.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.

        Drive.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be called to initialize this instance immediately after invoking the constructor.

        Parameters:
        fileId - The ID for the file or Team Drive.
        content - the Permission
        Since:
        1.13

Copyright © 2011–2018 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy