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
ขอบเขตบางอย่างถูกจำกัดและต้องมีการประเมินความปลอดภัยเพื่อให้แอปใช้งานได้ โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]