Method: drives.hide
Ortak Drive'ı varsayılan görünümde gizler.
HTTP isteği
POST https://www.googleapis.com/drive/v3/drives/{driveId}/hide
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
driveId |
string
Ortak Drive'ın kimliği.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, Drive
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/drive
Bazı kapsamlar kısıtlanmıştır ve uygulamanızın bunları kullanabilmesi için güvenlik değerlendirmesi yapılması gerekir. Daha fazla bilgi için Yetkilendirme kılavuzuna göz atın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-04 UTC.
[null,null,["Son güncelleme tarihi: 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"]]