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 Google 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.BackgroundImageFile
An image file and cropping parameters from which a background image for this shared drive is set.
|
static class |
Drive.Capabilities
Output only.
|
static class |
Drive.Restrictions
A set of restrictions that apply to this shared drive or items inside this shared drive.
|
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
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.
|
String |
getBackgroundImageLink()
Output only.
|
Drive.Capabilities |
getCapabilities()
Output only.
|
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).
|
Boolean |
getHidden()
Whether the shared drive is hidden from default view.
|
String |
getId()
Output only.
|
String |
getKind()
Output only.
|
String |
getName()
The name of this shared drive.
|
String |
getOrgUnitId()
Output only.
|
Drive.Restrictions |
getRestrictions()
A set of restrictions that apply to this shared drive or items inside this shared drive.
|
String |
getThemeId()
The ID of the theme from which the background image and color will be set.
|
Drive |
set(String fieldName,
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(String backgroundImageLink)
Output only.
|
Drive |
setCapabilities(Drive.Capabilities capabilities)
Output only.
|
Drive |
setColorRgb(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(Boolean hidden)
Whether the shared drive is hidden from default view.
|
Drive |
setId(String id)
Output only.
|
Drive |
setKind(String kind)
Output only.
|
Drive |
setName(String name)
The name of this shared drive.
|
Drive |
setOrgUnitId(String orgUnitId)
Output only.
|
Drive |
setRestrictions(Drive.Restrictions restrictions)
A set of restrictions that apply to this shared drive or items inside this shared drive.
|
Drive |
setThemeId(String themeId)
The ID of the theme from which the background image and color will be set.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Drive.BackgroundImageFile getBackgroundImageFile()
null
for nonepublic Drive setBackgroundImageFile(Drive.BackgroundImageFile backgroundImageFile)
backgroundImageFile
- backgroundImageFile or null
for nonepublic String getBackgroundImageLink()
null
for nonepublic Drive setBackgroundImageLink(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 String getColorRgb()
null
for nonepublic Drive setColorRgb(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 Boolean getHidden()
null
for nonepublic Drive setHidden(Boolean hidden)
hidden
- hidden or null
for nonepublic String getId()
null
for nonepublic Drive setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Drive setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic Drive setName(String name)
name
- name or null
for nonepublic String getOrgUnitId()
null
for nonepublic Drive setOrgUnitId(String orgUnitId)
orgUnitId
- orgUnitId or null
for nonepublic Drive.Restrictions getRestrictions()
null
for nonepublic Drive setRestrictions(Drive.Restrictions restrictions)
restrictions
- restrictions or null
for nonepublic String getThemeId()
null
for nonepublic Drive setThemeId(String themeId)
themeId
- themeId or null
for nonepublic Drive set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Drive clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.