Senden Sie die Anfrage als Domainadministrator. Bei Einstellung auf „true“ wird dem Anforderer Zugriff gewährt, wenn sich der Datei-ID-Parameter auf eine geteilte Ablage bezieht und der Anforderer Administrator der Domain ist, zu der die geteilte Ablage gehört.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Permission.
Einige Bereiche sind eingeschränkt und erfordern eine Sicherheitsprüfung, damit Ihre Anwendung sie verwenden kann. Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]