Method: drives.unhide
Memulihkan drive bersama ke tampilan default.
Permintaan HTTP
POST https://www.googleapis.com/drive/v2/drives/{driveId}/unhide
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
driveId |
string
ID drive bersama.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Drive
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/drive
Beberapa cakupan dibatasi dan memerlukan penilaian keamanan agar aplikasi Anda dapat menggunakannya. Untuk informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-09-03 UTC.
[null,null,["Terakhir diperbarui pada 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"]]