Package | Description |
---|---|
com.google.api.services.drive | |
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Drives.Insert |
Drive.Drives.insert(java.lang.String requestId,
Drive content)
Creates a new shared drive.
|
Drive.Drives.Update |
Drive.Drives.update(java.lang.String driveId,
Drive content)
Updates the metadata for a shared drive.
|
Constructor and Description |
---|
Insert(java.lang.String requestId,
Drive content)
Creates a new shared drive.
|
Update(java.lang.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(java.lang.String fieldName,
java.lang.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(java.lang.String backgroundImageLink)
A short-lived link to this shared drive's background image.
|
Drive |
Drive.setCapabilities(Drive.Capabilities capabilities)
Capabilities the current user has on this shared drive.
|
Drive |
Drive.setColorRgb(java.lang.String colorRgb)
The color of this shared drive as an RGB hex string.
|
Drive |
Drive.setCreatedDate(com.google.api.client.util.DateTime createdDate)
The time at which the shared drive was created (RFC 3339 date-time).
|
Drive |
Drive.setHidden(java.lang.Boolean hidden)
Whether the shared drive is hidden from default view.
|
Drive |
Drive.setId(java.lang.String id)
The ID of this shared drive which is also the ID of the top level folder of this shared drive.
|
Drive |
Drive.setKind(java.lang.String kind)
This is always drive#drive
|
Drive |
Drive.setName(java.lang.String name)
The name of this shared drive.
|
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(java.lang.String themeId)
The ID of the theme from which the background image and color will be set.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Drive> |
DriveList.getItems()
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.setItems(java.util.List<Drive> items)
The list of shared drives.
|