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.
|
static class |
TeamDrive.Restrictions
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 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.
|
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.
|
String |
getColorRgb()
The color of this Team Drive as an RGB hex string.
|
com.google.api.client.util.DateTime |
getCreatedDate()
The time at which the Team Drive was created (RFC 3339 date-time).
|
String |
getId()
The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
|
String |
getKind()
This is always drive#teamDrive
|
String |
getName()
The name of this Team Drive.
|
String |
getOrgUnitId()
The organizational unit of this shared drive.
|
TeamDrive.Restrictions |
getRestrictions()
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
|
String |
getThemeId()
The ID of the theme from which the background image and color will be set.
|
TeamDrive |
set(String fieldName,
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(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(String colorRgb)
The color of this Team Drive as an RGB hex string.
|
TeamDrive |
setCreatedDate(com.google.api.client.util.DateTime createdDate)
The time at which the Team Drive was created (RFC 3339 date-time).
|
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 |
setKind(String kind)
This is always drive#teamDrive
|
TeamDrive |
setName(String name)
The name of this Team Drive.
|
TeamDrive |
setOrgUnitId(String orgUnitId)
The organizational unit of this shared drive.
|
TeamDrive |
setRestrictions(TeamDrive.Restrictions restrictions)
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
|
TeamDrive |
setThemeId(String themeId)
The ID of the theme from which the background image and color will be set.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic TeamDrive.BackgroundImageFile getBackgroundImageFile()
null for nonepublic TeamDrive setBackgroundImageFile(TeamDrive.BackgroundImageFile backgroundImageFile)
backgroundImageFile - backgroundImageFile or null for nonepublic String getBackgroundImageLink()
null for nonepublic TeamDrive setBackgroundImageLink(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 String getColorRgb()
null for nonepublic TeamDrive setColorRgb(String colorRgb)
colorRgb - colorRgb or null for nonepublic com.google.api.client.util.DateTime getCreatedDate()
null for nonepublic TeamDrive setCreatedDate(com.google.api.client.util.DateTime createdDate)
createdDate - createdDate or null for nonepublic String getId()
null for nonepublic TeamDrive setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic TeamDrive setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic TeamDrive setName(String name)
name - name or null for nonepublic String getOrgUnitId()
null for nonepublic TeamDrive setOrgUnitId(String orgUnitId)
orgUnitId - orgUnitId or null for nonepublic TeamDrive.Restrictions getRestrictions()
null for nonepublic TeamDrive setRestrictions(TeamDrive.Restrictions restrictions)
restrictions - restrictions or null for nonepublic String getThemeId()
null for nonepublic TeamDrive setThemeId(String themeId)
themeId - themeId or null for nonepublic TeamDrive set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TeamDrive clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.