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

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







Drive.Teamdrives (Drive API v2-rev20180830-1.26.0)












com.google.api.services.drive

Class Drive.Teamdrives

  • Enclosing class:
    Drive


    public class Drive.Teamdrives
    extends Object
    The "teamdrives" collection of methods.
    • Constructor Detail

      • Teamdrives

        public Teamdrives()
    • Method Detail

      • delete

        public Drive.Teamdrives.Delete delete(String teamDriveId)
                                       throws IOException
        Permanently deletes a Team Drive for which the user is an organizer. The Team Drive cannot contain any untrashed items. Create a request for the method "teamdrives.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:
        teamDriveId - The ID of the Team Drive
        Returns:
        the request
        Throws:
        IOException
      • get

        public Drive.Teamdrives.Get get(String teamDriveId)
                                 throws IOException
        Gets a Team Drive's metadata by ID. Create a request for the method "teamdrives.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:
        teamDriveId - The ID of the Team Drive
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Drive.Teamdrives.Insert insert(String requestId,
                                              TeamDrive content)
                                       throws IOException
        Creates a new Team Drive. Create a request for the method "teamdrives.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:
        requestId - An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned.
        content - the TeamDrive
        Returns:
        the request
        Throws:
        IOException
      • list

        public Drive.Teamdrives.List list()
                                   throws IOException
        Lists the user's Team Drives. Create a request for the method "teamdrives.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.
        Returns:
        the request
        Throws:
        IOException
      • update

        public Drive.Teamdrives.Update update(String teamDriveId,
                                              TeamDrive content)
                                       throws IOException
        Updates a Team Drive's metadata Create a request for the method "teamdrives.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:
        teamDriveId - The ID of the Team Drive
        content - the TeamDrive
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2018 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy