Method: drives.unhide
שחזור של תיקיית האחסון השיתופי לתצוגת ברירת המחדל.
בקשת HTTP
POST https://www.googleapis.com/drive/v2/drives/{driveId}/unhide
בכתובת ה-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-03 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]