pubsub.MessagePublishedData interface

The interface published in a Pub/Sub publish subscription.

Signature:

export interface MessagePublishedData<T = any> 

Properties

Property Type Description
message Message<T> Google Cloud Pub/Sub message.
subscription string A subscription resource.

pubsub.MessagePublishedData.message

Google Cloud Pub/Sub message.

Signature:

readonly message: Message<T>;

pubsub.MessagePublishedData.subscription

A subscription resource.

Signature:

readonly subscription: string;