Method: drives.hide
यह शेयर की गई ड्राइव को डिफ़ॉल्ट व्यू से छिपा देता है.
एचटीटीपी अनुरोध
POST https://www.googleapis.com/drive/v2/drives/{driveId}/hide
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
driveId |
string
शेयर की गई ड्राइव का आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Drive
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/drive
कुछ दायरे सीमित हैं. इनका इस्तेमाल करने के लिए, सुरक्षा जांच की ज़रूरत होती है. ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-03 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]