Indica se o aplicativo solicitante oferece suporte ao Meu Drive e aos drives compartilhados.
supportsTeamDrives (deprecated)
boolean
Obsoleto: use supportsAllDrives.
acknowledgeAbuse
boolean
Se o usuário está reconhecendo o risco de fazer o download de um malware conhecido ou de outros arquivos abusivos. Isso só é aplicável quando o parâmetro alt está definido como media e o usuário é o proprietário ou um organizador do drive compartilhado em que o arquivo reside.
includePermissionsForView
string
Especifica quais permissões de visualização adicionais serão incluídas na resposta. Somente "Publicado" é suportado.
includeLabels
string
Uma lista separada por vírgulas de IDs de rótulos a serem incluídos na parte labelInfo da resposta.
Corpo da solicitação
O corpo da solicitação contém uma instância de Channel.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de Channel.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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"]]