TeamDrive class

Deprecated: use the drive collection instead.


TeamDrive.fromJson(Map _json)


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
createdDate DateTime
The time at which the Team Drive was created (RFC 3339 date-time).
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
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
This is always 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
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 teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.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. [...]