Struct google_drive3::api::TeamDrive
source · pub struct TeamDrive {
pub background_image_file: Option<TeamDriveBackgroundImageFile>,
pub background_image_link: Option<String>,
pub capabilities: Option<TeamDriveCapabilities>,
pub color_rgb: Option<String>,
pub created_time: Option<DateTime<Utc>>,
pub id: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub org_unit_id: Option<String>,
pub restrictions: Option<TeamDriveRestrictions>,
pub theme_id: Option<String>,
}
Expand description
Deprecated: use the drive collection instead.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- create teamdrives (request|response)
- get teamdrives (response)
- update teamdrives (request|response)
Fields§
§background_image_file: Option<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.
background_image_link: Option<String>
A short-lived link to this Team Drive’s background image.
capabilities: Option<TeamDriveCapabilities>
Capabilities the current user has on this Team Drive.
color_rgb: Option<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
.
created_time: Option<DateTime<Utc>>
The time at which the Team Drive was created (RFC 3339 date-time).
id: Option<String>
The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "drive#teamDrive"
.
name: Option<String>
The name of this Team Drive.
org_unit_id: Option<String>
The organizational unit of this shared drive. This field is only populated on drives.list
responses when the useDomainAdminAccess
parameter is set to true
.
restrictions: Option<TeamDriveRestrictions>
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
theme_id: Option<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
.