drive.drives.unhide
Restore a hidden shared drive to its default view via the Google Drive API, with dry-run previews available and request blocked under read-only safety profiles.
Instructions
Restores a shared drive to the default view. For more information, see Manage shared drives [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response 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, get, hide, list, 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. |
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 |