Google Apps Script API
    Preparing search index...

    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.

    interface Drive {
        backgroundImageFile?: GoogleAppsScript.Drive_v3.Drive.V3.Schema.DriveBackgroundImageFile;
        backgroundImageLink?: string;
        capabilities?: GoogleAppsScript.Drive_v3.Drive.V3.Schema.DriveCapabilities;
        colorRgb?: string;
        createdTime?: string;
        hidden?: boolean;
        id?: string;
        kind?: string;
        name?: string;
        orgUnitId?: string;
        restrictions?: GoogleAppsScript.Drive_v3.Drive.V3.Schema.DriveRestrictions;
        themeId?: string;
    }
    Index

    Properties

    An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.

    backgroundImageLink?: string

    Output only. A short-lived link to this shared drive's background image.

    Output only. Capabilities the current user has on this shared drive.

    colorRgb?: string

    The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.

    createdTime?: string

    The time at which the shared drive was created (RFC 3339 date-time).

    hidden?: boolean

    Whether the shared drive is hidden from default view.

    id?: string

    Output only. The ID of this shared drive which is also the ID of the top level folder of this shared drive.

    kind?: string

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

    name?: string

    The name of this shared drive.

    orgUnitId?: string

    Output only. The organizational unit of this shared drive. This field is only populated on drives.list responses when the useDomainAdminAccess parameter is set to true.

    A set of restrictions that apply to this shared drive or items inside this shared drive. Note that restrictions can't be set when creating a shared drive. To add a restriction, first create a shared drive and then use drives.update to add restrictions.

    themeId?: string

    The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.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.