public class Drive.Teamdrives
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Drive.Teamdrives.Create |
class |
Drive.Teamdrives.Delete |
class |
Drive.Teamdrives.Get |
class |
Drive.Teamdrives.List |
class |
Drive.Teamdrives.Update |
| Constructor and Description |
|---|
Drive.Teamdrives() |
| Modifier and Type | Method and Description |
|---|---|
Drive.Teamdrives.Create |
create(java.lang.String requestId,
TeamDrive content)
Creates a new Team Drive.
|
Drive.Teamdrives.Delete |
delete(java.lang.String teamDriveId)
Permanently deletes a Team Drive for which the user is an organizer.
|
Drive.Teamdrives.Get |
get(java.lang.String teamDriveId)
Gets a Team Drive's metadata by ID.
|
Drive.Teamdrives.List |
list()
Lists the user's Team Drives.
|
Drive.Teamdrives.Update |
update(java.lang.String teamDriveId,
TeamDrive content)
Updates a Team Drive's metadata
Create a request for the method "teamdrives.update".
|
public Drive.Teamdrives.Create create(java.lang.String requestId, TeamDrive content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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 TeamDrivejava.io.IOExceptionpublic Drive.Teamdrives.Delete delete(java.lang.String teamDriveId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.teamDriveId - The ID of the Team Drivejava.io.IOExceptionpublic Drive.Teamdrives.Get get(java.lang.String teamDriveId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.teamDriveId - The ID of the Team Drivejava.io.IOExceptionpublic Drive.Teamdrives.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic Drive.Teamdrives.Update update(java.lang.String teamDriveId, TeamDrive content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.teamDriveId - The ID of the Team Drivecontent - the TeamDrivejava.io.IOException