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) — response body

Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).: response body. 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) — response body

FieldTypePresenceDescription and constraints
$objectRootA notification channel used to watch for resource changes.
addressstringOptionalThe address where notifications are delivered for this channel.
expirationstringOptionalDate and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Format: int64
idstringOptionalA UUID or similar unique string that identifies this channel.
kindstringOptionalIdentifies this as a notification channel used to watch for changes to a resource, which is `api#channel`.
Default: api#channel
paramsobjectOptionalAdditional parameters controlling delivery channel behavior. Optional.
Additional keys: see wildcard field
params.*stringAdditional keys
payloadbooleanOptionalA Boolean value to indicate whether payload is wanted. Optional.
resourceIdstringOptionalAn opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
resourceUristringOptionalA version-specific identifier for the watched resource.
tokenstringOptionalAn arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
typestringOptionalThe type of delivery mechanism used for this channel. Valid values are “web_hook” or “webhook”.

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.