Interface Schema$TeamDrive

Deprecated: use the drive collection instead.

Hierarchy

  • Schema$TeamDrive

Properties

backgroundImageFile?: {
    id?: string;
    width?: number;
    xCoordinate?: number;
    yCoordinate?: number;
}

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.

Type declaration

  • Optional id?: string
  • Optional width?: number
  • Optional xCoordinate?: number
  • Optional yCoordinate?: number
backgroundImageLink?: string

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

capabilities?: {
    canAddChildren?: boolean;
    canChangeCopyRequiresWriterPermissionRestriction?: boolean;
    canChangeDomainUsersOnlyRestriction?: 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;
}

Capabilities the current user has on this Team Drive.

Type declaration

  • Optional canAddChildren?: boolean
  • Optional canChangeCopyRequiresWriterPermissionRestriction?: boolean
  • Optional canChangeDomainUsersOnlyRestriction?: boolean
  • Optional canChangeTeamDriveBackground?: boolean
  • Optional canChangeTeamMembersOnlyRestriction?: boolean
  • Optional canComment?: boolean
  • Optional canCopy?: boolean
  • Optional canDeleteChildren?: boolean
  • Optional canDeleteTeamDrive?: boolean
  • Optional canDownload?: boolean
  • Optional canEdit?: boolean
  • Optional canListChildren?: boolean
  • Optional canManageMembers?: boolean
  • Optional canReadRevisions?: boolean
  • Optional canRemoveChildren?: boolean
  • Optional canRename?: boolean
  • Optional canRenameTeamDrive?: boolean
  • Optional canResetTeamDriveRestrictions?: boolean
  • Optional canShare?: boolean
  • Optional canTrashChildren?: boolean
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.

createdTime?: string

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

id?: string

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

kind?: string

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

name?: string

The name of this Team Drive.

orgUnitId?: 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?: {
    adminManagedRestrictions?: boolean;
    copyRequiresWriterPermission?: boolean;
    domainUsersOnly?: boolean;
    teamMembersOnly?: boolean;
}

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

Type declaration

  • Optional adminManagedRestrictions?: boolean
  • Optional copyRequiresWriterPermission?: boolean
  • Optional domainUsersOnly?: boolean
  • Optional teamMembersOnly?: boolean
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.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.

Generated using TypeDoc