Google: Deprecated: Use `drives get` instead — response body
Deprecated: Use `drives.get` instead.: response body. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Deprecated: Use `drives get` instead — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Deprecated: use the drive collection instead. Next ID: 33 |
backgroundImageFile | object | Optional | The background image file for a Team Drive. |
backgroundImageFile.id | string | Optional | The ID of an image file in Drive to use for the background image. |
backgroundImageFile.width | JSON | Optional | |
backgroundImageFile.width (anyOf 1) | number | Alternative | The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high. Format: float |
backgroundImageFile.width (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
backgroundImageFile.xCoordinate | JSON | Optional | |
backgroundImageFile.xCoordinate (anyOf 1) | number | Alternative | The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image. Format: float |
backgroundImageFile.xCoordinate (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
backgroundImageFile.yCoordinate | JSON | Optional | |
backgroundImageFile.yCoordinate (anyOf 1) | number | Alternative | The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image. Format: float |
backgroundImageFile.yCoordinate (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
backgroundImageLink | string | Optional | A short-lived link to this Team Drive’s background image. |
capabilities | Model | Optional | Expand Deprecated: Use `drives get` instead — response body — capabilities |
colorRgb | string | Optional | 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 | Optional | The time at which the Team Drive was created (RFC 3339 date-time). Format: date-time |
id | string | Optional | The ID of this Team Drive which is also the ID of the top level folder of this Team Drive. |
kind | string | Optional | Identifies what kind of resource this is. Value: the fixed string `“drive#teamDrive”`. Default: drive#teamDrive |
name | string | Optional | The name of this Team Drive. |
orgUnitId | string | Optional | 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 | Model | Optional | Expand Deprecated: Use `drives get` instead — response body — restrictions |
themeId | string | Optional | 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`. |
Referenced models: Deprecated: Use `drives get` instead — response body — capabilities, Deprecated: Use `drives get` instead — response body — restrictions