Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TeamDrive

import type { TeamDrive } from "https://googleapis.deno.dev/v1/drive:v3.ts";

Deprecated: use the drive collection instead.

interface TeamDrive {
backgroundImageFile?: {
id?: string;
width?: number;
xCoordinate?: number;
yCoordinate?: number;
}
;
backgroundImageLink?: string;
capabilities?: {
canAddChildren?: boolean;
canChangeCopyRequiresWriterPermissionRestriction?: boolean;
canChangeDomainUsersOnlyRestriction?: boolean;
canChangeSharingFoldersRequiresOrganizerPermissionRestriction?: boolean;
canChangeTeamDriveBackground?: boolean;
canChangeTeamMembersOnlyRestriction?: boolean;
canComment?: boolean;
canCopy?: boolean;
canDeleteChildren?: boolean;
canDeleteTeamDrive?: boolean;
canDownload?: boolean;
canEdit?: boolean;
canListChildren?: boolean;
canManageMembers?: boolean;
canReadRevisions?: boolean;
canRemoveChildren?: boolean;
canRename?: boolean;
canRenameTeamDrive?: boolean;
canResetTeamDriveRestrictions?: boolean;
canShare?: boolean;
canTrashChildren?: boolean;
}
;
colorRgb?: string;
createdTime?: Date;
id?: string;
kind?: string;
name?: string;
orgUnitId?: string;
restrictions?: {
adminManagedRestrictions?: boolean;
copyRequiresWriterPermission?: boolean;
domainUsersOnly?: boolean;
sharingFoldersRequiresOrganizerPermission?: boolean;
teamMembersOnly?: boolean;
}
;
themeId?: string;
}

§Properties

§
backgroundImageFile?: {
id?: string;
width?: number;
xCoordinate?: number;
yCoordinate?: number;
}
[src]

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.

§
capabilities?: {
canAddChildren?: boolean;
canChangeCopyRequiresWriterPermissionRestriction?: boolean;
canChangeDomainUsersOnlyRestriction?: boolean;
canChangeSharingFoldersRequiresOrganizerPermissionRestriction?: boolean;
canChangeTeamDriveBackground?: boolean;
canChangeTeamMembersOnlyRestriction?: boolean;
canComment?: boolean;
canCopy?: boolean;
canDeleteChildren?: boolean;
canDeleteTeamDrive?: boolean;
canDownload?: boolean;
canEdit?: boolean;
canListChildren?: boolean;
canManageMembers?: boolean;
canReadRevisions?: boolean;
canRemoveChildren?: boolean;
canRename?: boolean;
canRenameTeamDrive?: boolean;
canResetTeamDriveRestrictions?: boolean;
canShare?: boolean;
canTrashChildren?: boolean;
}
[src]

Capabilities the current user has on this Team Drive.

§
colorRgb?: string
[src]

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.

§
createdTime?: Date
[src]

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

§
id?: string
[src]

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

§
kind?: string
[src]

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

§
name?: string
[src]

The name of this Team Drive.

§
orgUnitId?: string
[src]

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?: {
adminManagedRestrictions?: boolean;
copyRequiresWriterPermission?: boolean;
domainUsersOnly?: boolean;
sharingFoldersRequiresOrganizerPermission?: boolean;
teamMembersOnly?: boolean;
}
[src]

A set of restrictions that apply to this Team Drive or items inside this Team Drive.

§
themeId?: string
[src]

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.