Destination for Google Cloud Pub/Sub that can be used for Pull subscriptions as well as for Push subscriptions. The topic must give the pubsub.topics.publish permission to the service account subscriptions@commercetools-platform.iam.gserviceaccount.com. If used with the CloudEventsFormat, the message conforms to the PubSub Protocol Binding of the Structured Content Mode.

interface GoogleCloudPubSubDestination {
    projectId: string;
    topic: string;
    type: "GoogleCloudPubSub";
}

Properties

Properties

projectId: string

ID of the Google Cloud project that contains the Pub/Sub topic.

topic: string

Name of the topic.

type: "GoogleCloudPubSub"

Generated using TypeDoc