Channel
import type { Channel } from "https://googleapis.deno.dev/v1/drive:v3.ts";
A notification channel used to watch for resource changes.
interface Channel {
address?: string;
expiration?: bigint;
id?: string;
kind?: string;
params?: {};
[key: string]: string;
payload?: boolean;
resourceId?: string;
resourceUri?: string;
token?: string;
type?: string;
}§Properties
§
expiration?: bigint
[src]Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
§
kind?: string
[src]Identifies this as a notification channel used to watch for changes to a
resource, which is api#channel
.
§
params?: {}
[src][key: string]: string;
Additional parameters controlling delivery channel behavior. Optional.
§
resourceId?: string
[src]An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.