public final class TeamDrive
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
TeamDrive.BackgroundImageFile
An image file and cropping parameters from which a background image for this Team Drive is set.
|
static class |
TeamDrive.Capabilities
Capabilities the current user has on this Team Drive.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
TeamDrive() |
| Modifier and Type | Method and Description |
|---|---|
TeamDrive |
clone() |
TeamDrive.BackgroundImageFile |
getBackgroundImageFile()
An image file and cropping parameters from which a background image for this Team Drive is set.
|
java.lang.String |
getBackgroundImageLink()
A short-lived link to this Team Drive's background image.
|
TeamDrive.Capabilities |
getCapabilities()
Capabilities the current user has on this Team Drive.
|
java.lang.String |
getColorRgb()
The color of this Team Drive as an RGB hex string.
|
java.lang.String |
getId()
The ID of this Team Drive which is also the ID of the top level folder for this Team Drive.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.lang.String |
getName()
The name of this Team Drive.
|
java.lang.String |
getThemeId()
The ID of the theme from which the background image and color will be set.
|
TeamDrive |
set(java.lang.String fieldName,
java.lang.Object value) |
TeamDrive |
setBackgroundImageFile(TeamDrive.BackgroundImageFile backgroundImageFile)
An image file and cropping parameters from which a background image for this Team Drive is set.
|
TeamDrive |
setBackgroundImageLink(java.lang.String backgroundImageLink)
A short-lived link to this Team Drive's background image.
|
TeamDrive |
setCapabilities(TeamDrive.Capabilities capabilities)
Capabilities the current user has on this Team Drive.
|
TeamDrive |
setColorRgb(java.lang.String colorRgb)
The color of this Team Drive as an RGB hex string.
|
TeamDrive |
setId(java.lang.String id)
The ID of this Team Drive which is also the ID of the top level folder for this Team Drive.
|
TeamDrive |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
TeamDrive |
setName(java.lang.String name)
The name of this Team Drive.
|
TeamDrive |
setThemeId(java.lang.String themeId)
The ID of the theme from which the background image and color will be set.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic TeamDrive.BackgroundImageFile getBackgroundImageFile()
null for nonepublic TeamDrive setBackgroundImageFile(TeamDrive.BackgroundImageFile backgroundImageFile)
backgroundImageFile - backgroundImageFile or null for nonepublic java.lang.String getBackgroundImageLink()
null for nonepublic TeamDrive setBackgroundImageLink(java.lang.String backgroundImageLink)
backgroundImageLink - backgroundImageLink or null for nonepublic TeamDrive.Capabilities getCapabilities()
null for nonepublic TeamDrive setCapabilities(TeamDrive.Capabilities capabilities)
capabilities - capabilities or null for nonepublic java.lang.String getColorRgb()
null for nonepublic TeamDrive setColorRgb(java.lang.String colorRgb)
colorRgb - colorRgb or null for nonepublic java.lang.String getId()
null for nonepublic TeamDrive setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic TeamDrive setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic TeamDrive setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getThemeId()
null for nonepublic TeamDrive setThemeId(java.lang.String themeId)
themeId - themeId or null for nonepublic TeamDrive set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TeamDrive clone()
clone in class com.google.api.client.json.GenericJson