public final class Drive
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  | Drive.BackgroundImageFileAn image file and cropping parameters from which a background image for this shared drive is set. | 
| static class  | Drive.CapabilitiesCapabilities the current user has on this shared drive. | 
| static class  | Drive.RestrictionsA set of restrictions that apply to this shared drive or items inside this shared drive. | 
com.google.api.client.util.GenericData.Flags| Constructor and Description | 
|---|
| Drive() | 
| Modifier and Type | Method and Description | 
|---|---|
| Drive | clone() | 
| Drive.BackgroundImageFile | getBackgroundImageFile()An image file and cropping parameters from which a background image for this shared drive is
 set. | 
| java.lang.String | getBackgroundImageLink()A short-lived link to this shared drive's background image. | 
| Drive.Capabilities | getCapabilities()Capabilities the current user has on this shared drive. | 
| java.lang.String | getColorRgb()The color of this shared drive as an RGB hex string. | 
| com.google.api.client.util.DateTime | getCreatedTime()The time at which the shared drive was created (RFC 3339 date-time). | 
| java.lang.Boolean | getHidden()Whether the shared drive is hidden from default view. | 
| java.lang.String | getId()The ID of this shared drive which is also the ID of the top level folder of this shared drive. | 
| java.lang.String | getKind()Identifies what kind of resource this is. | 
| java.lang.String | getName()The name of this shared drive. | 
| Drive.Restrictions | getRestrictions()A set of restrictions that apply to this shared drive or items inside this shared drive. | 
| java.lang.String | getThemeId()The ID of the theme from which the background image and color will be set. | 
| Drive | set(java.lang.String fieldName,
   java.lang.Object value) | 
| Drive | setBackgroundImageFile(Drive.BackgroundImageFile backgroundImageFile)An image file and cropping parameters from which a background image for this shared drive is
 set. | 
| Drive | setBackgroundImageLink(java.lang.String backgroundImageLink)A short-lived link to this shared drive's background image. | 
| Drive | setCapabilities(Drive.Capabilities capabilities)Capabilities the current user has on this shared drive. | 
| Drive | setColorRgb(java.lang.String colorRgb)The color of this shared drive as an RGB hex string. | 
| Drive | setCreatedTime(com.google.api.client.util.DateTime createdTime)The time at which the shared drive was created (RFC 3339 date-time). | 
| Drive | setHidden(java.lang.Boolean hidden)Whether the shared drive is hidden from default view. | 
| 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 | setKind(java.lang.String kind)Identifies what kind of resource this is. | 
| Drive | setName(java.lang.String name)The name of this shared drive. | 
| Drive | setRestrictions(Drive.Restrictions restrictions)A set of restrictions that apply to this shared drive or items inside this shared drive. | 
| Drive | 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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Drive.BackgroundImageFile getBackgroundImageFile()
null for nonepublic Drive setBackgroundImageFile(Drive.BackgroundImageFile backgroundImageFile)
backgroundImageFile - backgroundImageFile or null for nonepublic java.lang.String getBackgroundImageLink()
null for nonepublic Drive setBackgroundImageLink(java.lang.String backgroundImageLink)
backgroundImageLink - backgroundImageLink or null for nonepublic Drive.Capabilities getCapabilities()
null for nonepublic Drive setCapabilities(Drive.Capabilities capabilities)
capabilities - capabilities or null for nonepublic java.lang.String getColorRgb()
null for nonepublic Drive setColorRgb(java.lang.String colorRgb)
colorRgb - colorRgb or null for nonepublic com.google.api.client.util.DateTime getCreatedTime()
null for nonepublic Drive setCreatedTime(com.google.api.client.util.DateTime createdTime)
createdTime - createdTime or null for nonepublic java.lang.Boolean getHidden()
null for nonepublic Drive setHidden(java.lang.Boolean hidden)
hidden - hidden or null for nonepublic java.lang.String getId()
null for nonepublic Drive setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Drive setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Drive setName(java.lang.String name)
name - name or null for nonepublic Drive.Restrictions getRestrictions()
null for nonepublic Drive setRestrictions(Drive.Restrictions restrictions)
restrictions - restrictions or null for nonepublic java.lang.String getThemeId()
null for nonepublic Drive setThemeId(java.lang.String themeId)
themeId - themeId or null for nonepublic Drive set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Drive clone()
clone in class com.google.api.client.json.GenericJson