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]The name
field of a Cloud Pubsub [Topic]
(https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic).