target.apidocs.com.google.api.services.drive.Drive.Teamdrives.html Maven / Gradle / Ivy
Drive.Teamdrives (Google Drive API v2-rev20240809-2.0.0)
com.google.api.services.drive
Class Drive.Teamdrives
- java.lang.Object
-
- com.google.api.services.drive.Drive.Teamdrives
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Drive.Teamdrives.Delete
class
Drive.Teamdrives.Get
class
Drive.Teamdrives.Insert
class
Drive.Teamdrives.List
class
Drive.Teamdrives.Update
-
Constructor Summary
Constructors
Constructor and Description
Teamdrives()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Drive.Teamdrives.Delete
delete(String teamDriveId)
Deprecated: Use `drives.delete` instead.
Drive.Teamdrives.Get
get(String teamDriveId)
Deprecated: Use `drives.get` instead.
Drive.Teamdrives.Insert
insert(String requestId,
TeamDrive content)
Deprecated: Use `drives.insert` instead.
Drive.Teamdrives.List
list()
Deprecated: Use `drives.list` instead.
Drive.Teamdrives.Update
update(String teamDriveId,
TeamDrive content)
Deprecated: Use `drives.update` instead.
-
-
Method Detail
-
delete
public Drive.Teamdrives.Delete delete(String teamDriveId)
throws IOException
Deprecated: Use `drives.delete` instead.
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
Deprecated: Use `drives.get` instead.
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
Deprecated: Use `drives.insert` instead.
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
- 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
- Returns:
- the request
- Throws:
IOException
-
list
public Drive.Teamdrives.List list()
throws IOException
Deprecated: Use `drives.list` instead.
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
Deprecated: Use `drives.update` instead.
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–2024 Google. All rights reserved.