Google Cloud Storage · Schema
Channel
A notification channel used to watch for resource changes.
ArchivalBackupBlob StorageCloud StorageDataFile StorageGoogle CloudObject StorageStorage
Properties
| Name | Type | Description |
|---|---|---|
| kind | string | Identifies this as a notification channel. |
| id | string | A UUID or similar unique string that identifies this channel. |
| resourceId | string | An opaque value that identifies the watched resource. |
| resourceUri | string | A version-specific identifier for the watched resource. |
| token | string | An arbitrary string delivered to the target address with each notification. |
| expiration | string | Date and time of notification channel expiration, expressed in milliseconds since the epoch. |
| type | string | The type of delivery mechanism used for this channel. |
| address | string | The address where notifications are delivered for this channel. |
| params | object | Additional parameters controlling delivery channel behavior. |
| payload | boolean | Whether the payload of each notification event is expected. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Channel",
"type": "object",
"description": "A notification channel used to watch for resource changes.",
"properties": {
"kind": {
"type": "string",
"description": "Identifies this as a notification channel."
},
"id": {
"type": "string",
"description": "A UUID or similar unique string that identifies this channel."
},
"resourceId": {
"type": "string",
"description": "An opaque value that identifies the watched resource."
},
"resourceUri": {
"type": "string",
"description": "A version-specific identifier for the watched resource."
},
"token": {
"type": "string",
"description": "An arbitrary string delivered to the target address with each notification."
},
"expiration": {
"type": "string",
"description": "Date and time of notification channel expiration, expressed in milliseconds since the epoch."
},
"type": {
"type": "string",
"description": "The type of delivery mechanism used for this channel."
},
"address": {
"type": "string",
"description": "The address where notifications are delivered for this channel."
},
"params": {
"type": "object",
"description": "Additional parameters controlling delivery channel behavior."
},
"payload": {
"type": "boolean",
"description": "Whether the payload of each notification event is expected."
}
}
}