TeamDrive class

Deprecated: use the drive collection instead.

Constructors

TeamDrive()
TeamDrive.fromJson(Map _json)

Properties

backgroundImageFile TeamDriveBackgroundImageFile
An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.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 Team Drive's background image.
read / write
capabilities TeamDriveCapabilities
Capabilities the current user has on this Team Drive.
read / write
colorRgb ↔ String
The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
read / write
createdTime ↔ DateTime
The time at which the Team Drive was created (RFC 3339 date-time).
read / write
id ↔ String
The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
read / write
kind ↔ String
Identifies what kind of resource this is. Value: the fixed string "drive#teamDrive".
read / write
name ↔ String
The name of this Team Drive.
read / write
restrictions TeamDriveRestrictions
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
read / write
themeId ↔ String
The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create 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
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited