Struct google_drive3_fork::TeamDrive[][src]

pub struct TeamDrive {
    pub color_rgb: Option<String>,
    pub background_image_link: Option<String>,
    pub name: Option<String>,
    pub theme_id: Option<String>,
    pub kind: Option<String>,
    pub capabilities: Option<TeamDriveCapabilities>,
    pub background_image_file: Option<TeamDriveBackgroundImageFile>,
    pub created_time: Option<String>,
    pub id: Option<String>,
}

Representation of a Team Drive.

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).

Fields

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.

A short-lived link to this Team Drive's background image.

The name of this Team Drive.

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.

Identifies what kind of resource this is. Value: the fixed string "drive#teamDrive".

Capabilities the current user has on this Team Drive.

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.

The time at which the Team Drive was created (RFC 3339 date-time).

The ID of this Team Drive which is also the ID of the top level folder for this Team Drive.

Trait Implementations

impl Default for TeamDrive
[src]

Returns the "default value" for a type. Read more

impl Clone for TeamDrive
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TeamDrive
[src]

Formats the value using the given formatter. Read more

impl RequestValue for TeamDrive
[src]

impl Resource for TeamDrive
[src]

impl ResponseResult for TeamDrive
[src]

Auto Trait Implementations

impl Send for TeamDrive

impl Sync for TeamDrive