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

CloudPubsubTopic

import type { CloudPubsubTopic } from "https://googleapis.deno.dev/v1/alertcenter:v1beta1.ts";

A reference to a Cloud Pubsub topic. To register for notifications, the owner of the topic must grant alerts-api-push-notifications@system.gserviceaccount.com the projects.topics.publish permission.

interface CloudPubsubTopic {
payloadFormat?: "PAYLOAD_FORMAT_UNSPECIFIED" | "JSON";
topicName?: string;
}

§Properties

§
payloadFormat?: "PAYLOAD_FORMAT_UNSPECIFIED" | "JSON"
[src]

Optional. The format of the payload that would be sent. If not specified the format will be JSON.

§
topicName?: string
[src]