Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Channel

import type { Channel } from "https://googleapis.deno.dev/v1/storage:v1.ts";

An 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

§
address?: string
[src]

The address where notifications are delivered for this channel.

§
expiration?: bigint
[src]

Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.

§
id?: string
[src]

A UUID or similar unique string that identifies this channel.

§
kind?: string
[src]

Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel".

§
params?: {
[key: string]: string;
}
[src]

Additional parameters controlling delivery channel behavior. Optional.

§
payload?: boolean
[src]

A Boolean value to indicate whether payload is wanted. Optional.

§
resourceId?: string
[src]

An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.

§
resourceUri?: string
[src]

A version-specific identifier for the watched resource.

§
token?: string
[src]

An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.

§
type?: string
[src]

The type of delivery mechanism used for this channel.