Si se ejecuta de forma correcta, el cuerpo de la respuesta contiene una instancia de Drive.
Permisos de autorización
Requiere el siguiente alcance de OAuth:
https://www.googleapis.com/auth/drive
Algunos permisos están restringidos y requieren una evaluación de seguridad para que tu app los use. Para obtener más información, consulta la guía de autorización.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-09-03 (UTC)"],[[["Restores a shared Google Drive to its default view using a simple POST request."],["Requires the `driveId` as a path parameter and an empty request body."],["Upon success, the API returns a `Drive` resource representing the restored shared drive."],["Utilizes the `https://www.googleapis.com/auth/drive` OAuth scope for authorization."]]],["This document outlines the process for restoring a shared drive to its default view via an API call. It uses a `POST` request to the specified endpoint: `https://www.googleapis.com/drive/v2/drives/{driveId}/unhide`. The `driveId` path parameter is a string representing the ID of the shared drive. The request body must be empty. A successful operation returns a `Drive` instance in the response body. The request requires the `https://www.googleapis.com/auth/drive` OAuth scope.\n"]]