drive.drives.get
Retrieve a shared drive's metadata by ID, optionally issuing the request as a domain administrator. Returns the resource as JSON.
Instructions
Gets a shared drive's metadata by ID. For more information, see Manage shared drives [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: create, delete, hide, list, unhide, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| driveId | Yes | [URL path segment] The ID of the shared drive. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| useDomainAdminAccess | No | [query parameter] Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the s | false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| name | No | ||
| hidden | No | ||
| themeId | No | ||
| colorRgb | No | ||
| orgUnitId | No | ||
| createdTime | No | ||
| capabilities | No | ||
| restrictions | No | ||
| backgroundImageFile | No | ||
| backgroundImageLink | No |