Method: drives.hide
Geteilte Ablagen aus der Standardansicht ausblenden
HTTP-Anfrage
POST https://www.googleapis.com/drive/v3/drives/{driveId}/hide
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-04 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-09-04 (UTC)."],[[["Hides a shared drive specified by `driveId` from the default view."],["Requires an empty request body and uses the `POST` method."],["A successful response returns a [Drive](/drive/api/reference/rest/v3/drives#Drive) object."],["Needs authorization with the `https://www.googleapis.com/auth/drive` scope."]]],["This document outlines the process for hiding a shared drive using a `POST` HTTP request to the Google Drive API. The request URL includes a required `driveId` path parameter, specifying the drive to hide. The request body must be empty. Successful execution returns a `Drive` resource in the response body. This action requires the `https://www.googleapis.com/auth/drive` authorization scope. The provided link contains the instructions to test it live.\n"]]