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/eventarc:v1.ts";

A representation of the Channel resource. A Channel is a resource on which event providers publish their events. The published events are delivered through the transport associated with the channel. Note that a channel is associated with exactly one event provider.

interface Channel {
readonly activationToken?: string;
readonly createTime?: Date;
cryptoKeyName?: string;
name?: string;
provider?: string;
readonly pubsubTopic?: string;
readonly satisfiesPzs?: boolean;
readonly state?:
| "STATE_UNSPECIFIED"
| "PENDING"
| "ACTIVE"
| "INACTIVE";
readonly uid?: string;
readonly updateTime?: Date;
}

§Properties

§
readonly activationToken?: string
[src]

Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.

§
readonly createTime?: Date
[src]

Output only. The creation time.

§
cryptoKeyName?: string
[src]

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*\/locations/*\/keyRings/*\/cryptoKeys/*.

§
name?: string
[src]

Required. The resource name of the channel. Must be unique within the location on the project and must be in projects/{project}/locations/{location}/channels/{channel_id} format.

§
provider?: string
[src]

The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: projects/{project}/locations/{location}/providers/{provider_id}.

§
readonly pubsubTopic?: string
[src]

Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: projects/{project}/topics/{topic_id}.

§
readonly satisfiesPzs?: boolean
[src]

Output only. Whether or not this Channel satisfies the requirements of physical zone separation

§
readonly state?: "STATE_UNSPECIFIED" | "PENDING" | "ACTIVE" | "INACTIVE"
[src]

Output only. The state of a Channel.

§
readonly uid?: string
[src]

Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

§
readonly updateTime?: Date
[src]

Output only. The last-modified time.