Method: drives.hide
הסתרת האחסון השיתופי מתצוגת ברירת המחדל.
בקשת HTTP
POST https://www.googleapis.com/drive/v3/drives/{driveId}/hide
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
driveId |
string
המזהה של האחסון השיתופי.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של Drive
.
היקפי הרשאות
נדרש היקף OAuth הבא:
https://www.googleapis.com/auth/drive
חלק מההיקפים מוגבלים ומחייבים בדיקת אבטחה כדי שהאפליקציה תוכל להשתמש בהם. למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-04 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]