Skip to content

Google: Subscribes to changes to a file For more information, see Notifications for resource changes (https: developers google com workspace drive api guides push) — request body — query

Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).: request body, field query. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Subscribes to changes to a file For more information, see Notifications for resource changes (https: developers google com workspace drive api guides push) — request body — query

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
fieldsstringOptionalSelector specifying which fields to include in a partial response.
prettyPrintbooleanOptionalReturns response with indentations and line breaks.
Default: true
quotaUserstringOptionalAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
acknowledgeAbusebooleanOptionalWhether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the `alt` parameter is set to `media` and the user is the owner of the file or an organizer of the shared drive in which the file resides.
Default: false
includeLabelsstringOptionalA comma-separated list of IDs of labels to include in the `labelInfo` part of the response.
includePermissionsForViewstringOptionalSpecifies which additional view’s permissions to include in the response. Only `published` is supported.
supportsAllDrivesbooleanOptionalWhether the requesting application supports both My Drives and shared drives.
Default: false
supportsTeamDrivesbooleanOptionalDeprecated: Use `supportsAllDrives` instead.
Default: false

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.