Drive class

Representation of a shared drive.


Drive.fromJson(Map _json)


backgroundImageFile DriveBackgroundImageFile
An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
read / write
A short-lived link to this shared drive's background image.
read / write
capabilities DriveCapabilities
Capabilities the current user has on this shared drive.
read / write
colorRgb String
The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.
read / write
createdDate DateTime
The time at which the shared drive was created (RFC 3339 date-time).
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hidden bool
Whether the shared drive is hidden from default view.
read / write
id String
The ID of this shared drive which is also the ID of the top level folder of this shared drive.
read / write
kind String
This is always drive#drive
read / write
name String
The name of this shared drive.
read / write
restrictions DriveRestrictions
A set of restrictions that apply to this shared drive or items inside this shared drive.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
themeId String
The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.insert request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]