| Package | Description | 
|---|---|
| com.google.api.services.drive | |
| com.google.api.services.drive.model | 
| Modifier and Type | Method and Description | 
|---|---|
Drive.Teamdrives.Create | 
Drive.Teamdrives.create(String requestId,
      TeamDrive content)
Deprecated: Use `drives.create` instead. 
 | 
Drive.Teamdrives.Update | 
Drive.Teamdrives.update(String teamDriveId,
      TeamDrive content)
Deprecated: Use `drives.update` instead. 
 | 
| Constructor and Description | 
|---|
Create(String requestId,
      TeamDrive content)
Deprecated: Use `drives.create` instead. 
 | 
Update(String teamDriveId,
      TeamDrive content)
Deprecated: Use `drives.update` instead. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TeamDrive | 
TeamDrive.clone()  | 
TeamDrive | 
Change.getTeamDrive()
Deprecated: Use `drive` instead. 
 | 
TeamDrive | 
TeamDrive.set(String fieldName,
   Object value)  | 
TeamDrive | 
TeamDrive.setBackgroundImageFile(TeamDrive.BackgroundImageFile backgroundImageFile)
An image file and cropping parameters from which a background image for this Team Drive is set. 
 | 
TeamDrive | 
TeamDrive.setBackgroundImageLink(String backgroundImageLink)
A short-lived link to this Team Drive's background image. 
 | 
TeamDrive | 
TeamDrive.setCapabilities(TeamDrive.Capabilities capabilities)
Capabilities the current user has on this Team Drive. 
 | 
TeamDrive | 
TeamDrive.setColorRgb(String colorRgb)
The color of this Team Drive as an RGB hex string. 
 | 
TeamDrive | 
TeamDrive.setCreatedTime(com.google.api.client.util.DateTime createdTime)
The time at which the Team Drive was created (RFC 3339 date-time). 
 | 
TeamDrive | 
TeamDrive.setId(String id)
The ID of this Team Drive which is also the ID of the top level folder of this Team Drive. 
 | 
TeamDrive | 
TeamDrive.setKind(String kind)
Identifies what kind of resource this is. 
 | 
TeamDrive | 
TeamDrive.setName(String name)
The name of this Team Drive. 
 | 
TeamDrive | 
TeamDrive.setOrgUnitId(String orgUnitId)
The organizational unit of this shared drive. 
 | 
TeamDrive | 
TeamDrive.setRestrictions(TeamDrive.Restrictions restrictions)
A set of restrictions that apply to this Team Drive or items inside this Team Drive. 
 | 
TeamDrive | 
TeamDrive.setThemeId(String themeId)
The ID of the theme from which the background image and color will be set. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<TeamDrive> | 
TeamDriveList.getTeamDrives()
The list of Team Drives. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Change | 
Change.setTeamDrive(TeamDrive teamDrive)
Deprecated: Use `drive` instead. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TeamDriveList | 
TeamDriveList.setTeamDrives(List<TeamDrive> teamDrives)
The list of Team Drives. 
 | 
Copyright © 2011–2025 Google. All rights reserved.