Apakah aplikasi permintaan mendukung Drive Saya dan drive bersama.
supportsTeamDrives (deprecated)
boolean
Tidak digunakan lagi: Sebagai gantinya, gunakan supportsAllDrives.
useDomainAdminAccess
boolean
Kirim permintaan sebagai administrator domain; jika disetel ke benar (true), pemohon akan diberi akses jika parameter ID file merujuk ke drive bersama dan pemohon adalah administrator domain yang mencakup drive bersama tersebut.
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Permission.
Beberapa cakupan dibatasi dan memerlukan penilaian keamanan agar aplikasi Anda dapat menggunakannya. Untuk informasi selengkapnya, lihat Panduan otorisasi.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-09-04 UTC."],[[["Retrieves a specific permission for a file using its file ID and permission ID."],["Requires providing `fileId` and `permissionId` as path parameters in the request URL."],["Optionally accepts query parameters like `supportsAllDrives` and `useDomainAdminAccess` to modify the request."],["The request body should be empty, and a successful response returns a `Permission` object."],["Needs authorization with one of the listed OAuth scopes, such as `https://www.googleapis.com/auth/drive` or `https://www.googleapis.com/auth/drive.file`."]]],["This outlines how to retrieve a permission by ID using a GET request to the specified URL: `https://www.googleapis.com/drive/v3/files/{fileId}/permissions/{permissionId}`. The request uses `fileId` and `permissionId` as path parameters. Query parameters such as `supportsAllDrives`, and `useDomainAdminAccess` are available. The request body should be empty, and a successful response returns a Permission instance. Access requires specific authorization scopes, which are listed.\n"]]