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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A notification channel used to watch for resource changes. |
address | string | Optional | The address where notifications are delivered for this channel. |
expiration | string | Optional | Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. Format: int64 |
id | string | Optional | A UUID or similar unique string that identifies this channel. |
kind | string | Optional | Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`. Default: api#channel |
params | object | Optional | Additional parameters controlling delivery channel behavior. Optional. Additional keys: see wildcard field |
params.* | string | Additional keys | |
payload | boolean | Optional | A Boolean value to indicate whether payload is wanted. Optional. |
resourceId | string | Optional | An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. |
resourceUri | string | Optional | A version-specific identifier for the watched resource. |
token | string | Optional | An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. |
type | string | Optional | The type of delivery mechanism used for this channel. Valid values are “web_hook” or “webhook”. |