Method: drives.unhide
Stellt die Standardansicht einer geteilten Ablage wieder her.
HTTP-Anfrage
POST https://www.googleapis.com/drive/v2/drives/{driveId}/unhide
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
driveId |
string
Die ID der geteilten Ablage.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Drive
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/drive
Einige Bereiche sind eingeschränkt und erfordern eine Sicherheitsprüfung, damit Ihre App sie verwenden kann. Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-09-03 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]