NotificationEndpoint
import type { NotificationEndpoint } from "https://googleapis.deno.dev/v1/workspaceevents:v1.ts";
The endpoint where the subscription delivers events.
interface NotificationEndpoint {
pubsubTopic?: string;
}§Properties
§
pubsubTopic?: string
[src]Immutable. The Pub/Sub topic that receives events for the subscription.
Format: projects/{project}/topics/{topic}
You must create the topic in
the same Google Cloud project where you create this subscription. Note: The
Workspace Events API uses ordering
keys for the benefit of
sequential events. If the Cloud Pub/Sub topic has a message storage
policy
configured to exclude the nearest Google Cloud region, publishing events
with ordering keys will fail. When the topic receives events, the events
are encoded as Pub/Sub messages. For details, see the Google Cloud Pub/Sub
Protocol Binding for
CloudEvents.