Method: drives.hide
Ortak Drive'ı varsayılan görünümde gizler.
HTTP isteği
POST https://www.googleapis.com/drive/v2/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-03 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-03 UTC."],[[["Hides a specified shared drive from the user's default view."],["Requires a `POST` request to the specific endpoint with the shared drive's ID."],["The request body should be empty, and a successful response returns a `Drive` resource."],["Requires 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 (`/drive/v2/drives/{driveId}/hide`). The `driveId` parameter, a string, must be provided in the URL path. The request body must be empty. Upon success, the API returns a Drive instance in the response body. Authorization requires the `https://www.googleapis.com/auth/drive` OAuth scope, with some scopes needing a security assessment.\n"]]