| Package | Description | 
|---|---|
| com.google.api.services.drive | |
| com.google.api.services.drive.model | 
| Modifier and Type | Method and Description | 
|---|---|
Drive.Drives.Create | 
Drive.Drives.create(String requestId,
      Drive content)
Creates a shared drive. 
 | 
Drive.Drives.Update | 
Drive.Drives.update(String driveId,
      Drive content)
Updates the metadata for a shared drive. 
 | 
| Constructor and Description | 
|---|
Create(String requestId,
      Drive content)
Creates a shared drive. 
 | 
Update(String driveId,
      Drive content)
Updates the metadata for a shared drive. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Drive | 
Drive.clone()  | 
Drive | 
Change.getDrive()
The updated state of the shared drive. 
 | 
Drive | 
Drive.set(String fieldName,
   Object value)  | 
Drive | 
Drive.setBackgroundImageFile(Drive.BackgroundImageFile backgroundImageFile)
An image file and cropping parameters from which a background image for this shared drive is
 set. 
 | 
Drive | 
Drive.setBackgroundImageLink(String backgroundImageLink)
Output only. 
 | 
Drive | 
Drive.setCapabilities(Drive.Capabilities capabilities)
Output only. 
 | 
Drive | 
Drive.setColorRgb(String colorRgb)
The color of this shared drive as an RGB hex string. 
 | 
Drive | 
Drive.setCreatedTime(com.google.api.client.util.DateTime createdTime)
The time at which the shared drive was created (RFC 3339 date-time). 
 | 
Drive | 
Drive.setHidden(Boolean hidden)
Whether the shared drive is hidden from default view. 
 | 
Drive | 
Drive.setId(String id)
Output only. 
 | 
Drive | 
Drive.setKind(String kind)
Output only. 
 | 
Drive | 
Drive.setName(String name)
The name of this shared drive. 
 | 
Drive | 
Drive.setOrgUnitId(String orgUnitId)
Output only. 
 | 
Drive | 
Drive.setRestrictions(Drive.Restrictions restrictions)
A set of restrictions that apply to this shared drive or items inside this shared drive. 
 | 
Drive | 
Drive.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<Drive> | 
DriveList.getDrives()
The list of shared drives. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Change | 
Change.setDrive(Drive drive)
The updated state of the shared drive. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DriveList | 
DriveList.setDrives(List<Drive> drives)
The list of shared drives. 
 | 
Copyright © 2011–2025 Google. All rights reserved.