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(String requestId,
TeamDrive content)
Creates a new Team Drive.
|
Drive.Teamdrives.Delete |
delete(String teamDriveId)
Permanently deletes a Team Drive for which the user is an organizer.
|
Drive.Teamdrives.Get |
get(String teamDriveId)
Gets a Team Drive's metadata by ID.
|
Drive.Teamdrives.List |
list()
Lists the user's Team Drives.
|
Drive.Teamdrives.Update |
update(String teamDriveId,
TeamDrive content)
Updates a Team Drive's metadata
Create a request for the method "teamdrives.update".
|
public Drive.Teamdrives.Create create(String requestId, TeamDrive content) throws 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 TeamDrive
IOException
public Drive.Teamdrives.Delete delete(String teamDriveId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.teamDriveId
- The ID of the Team DriveIOException
public Drive.Teamdrives.Get get(String teamDriveId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.teamDriveId
- The ID of the Team DriveIOException
public Drive.Teamdrives.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public Drive.Teamdrives.Update update(String teamDriveId, TeamDrive content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.teamDriveId
- The ID of the Team Drivecontent
- the TeamDrive
IOException