Drive class

Representation of a shared drive.

Some resource methods (such as drives.update) require a driveId. Use the drives.list method to retrieve the ID for a shared drive.

Constructors

Drive({DriveBackgroundImageFile? backgroundImageFile, String? backgroundImageLink, DriveCapabilities? capabilities, String? colorRgb, DateTime? createdDate, bool? hidden, String? id, String? kind, String? name, String? orgUnitId, DriveRestrictions? restrictions, String? themeId})
Drive.fromJson(Map json_)

Properties

backgroundImageFile DriveBackgroundImageFile?
An image file and cropping parameters from which a background image for this shared drive is set.
getter/setter pair
A short-lived link to this shared drive's background image.
getter/setter pair
capabilities DriveCapabilities?
Capabilities the current user has on this shared drive.
getter/setter pair
colorRgb String?
The color of this shared drive as an RGB hex string.
getter/setter pair
createdDate DateTime?
The time at which the shared drive was created (RFC 3339 date-time).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hidden bool?
Whether the shared drive is hidden from default view.
getter/setter pair
id String?
The ID of this shared drive which is also the ID of the top level folder of this shared drive.
getter/setter pair
kind String?
This is always drive#drive
getter/setter pair
name String?
The name of this shared drive.
getter/setter pair
orgUnitId String?
The organizational unit of this shared drive.
getter/setter pair
restrictions DriveRestrictions?
A set of restrictions that apply to this shared drive or items inside this shared drive.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
themeId String?
The ID of the theme from which the background image and color will be set.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited