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 |
---|
Teamdrives() |
Modifier and Type | Method and Description |
---|---|
Drive.Teamdrives.Create |
create(String requestId,
TeamDrive content)
Deprecated: Use `drives.create` instead.
|
Drive.Teamdrives.Delete |
delete(String teamDriveId)
Deprecated: Use `drives.delete` instead.
|
Drive.Teamdrives.Get |
get(String teamDriveId)
Deprecated: Use `drives.get` instead.
|
Drive.Teamdrives.List |
list()
Deprecated: Use `drives.list` instead.
|
Drive.Teamdrives.Update |
update(String teamDriveId,
TeamDrive content)
Deprecated: Use `drives.update` instead.
|
public Drive.Teamdrives.Create create(String requestId, TeamDrive content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.requestId
- Required. 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
Copyright © 2011–2024 Google. All rights reserved.