Ob der Nutzer das Risiko des Herunterladens bekannter Malware oder anderer missbräuchlicher Dateien bestätigt hat Das gilt nur, wenn der Parameter alt auf media gesetzt ist und der Nutzer der Eigentümer der Datei oder ein Organisator der geteilten Ablage ist, in der sich die Datei befindet.
includePermissionsForView
string
Gibt an, welche zusätzlichen Berechtigungen der Ansicht in die Antwort aufgenommen werden sollen. Nur "veröffentlicht" wird unterstützt.
includeLabels
string
Eine durch Kommas getrennte Liste mit IDs der Labels, die im labelInfo-Teil der Antwort enthalten sein sollen.
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-03 (UTC)."],[[["Subscribes to changes to a file using the `POST https://www.googleapis.com/drive/v3/files/{fileId}/watch` endpoint, where `{fileId}` represents the ID of the file."],["Request body and successful response body both contain an instance of [Channel](/drive/api/reference/rest/v3/channels#Channel), enabling subscription to file changes."],["Accepts various query parameters like `supportsAllDrives`, `acknowledgeAbuse`, `includePermissionsForView`, and `includeLabels` to customize the subscription request."],["Requires authorization with one of the listed OAuth scopes, such as `https://www.googleapis.com/auth/drive` or `https://www.googleapis.com/auth/drive.file`, to access and subscribe to file changes."]]],["This outlines how to subscribe to file changes using a `POST` request to `https://www.googleapis.com/drive/v3/files/{fileId}/watch`. Key actions include setting the `fileId` in the path and using query parameters like `supportsAllDrives`, `acknowledgeAbuse`, `includePermissionsForView`, and `includeLabels`. The request and response bodies both use a `Channel` instance. The request requires specific authorization scopes, such as `drive`, `drive.file`, or `drive.readonly`. Some scopes have restrictions.\n"]]