pubsub.MessagePublishedData interface
Stay organized with collections
Save and categorize content based on your preferences.
The interface published in a Pub/Sub publish subscription.
Signature:
export interface MessagePublishedData<T = any>
Properties
pubsub.MessagePublishedData.message
Google Cloud Pub/Sub message.
Signature:
readonly message: Message<T>;
pubsub.MessagePublishedData.subscription
A subscription resource.
Signature:
readonly subscription: string;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-18 UTC.
[null,null,["Last updated 2023-04-18 UTC."],[],[],null,["# pubsub.MessagePublishedData interface\n\nThe interface published in a Pub/Sub publish subscription.\n\n**Signature:** \n\n export interface MessagePublishedData\u003cT = any\u003e \n\nProperties\n----------\n\n| Property | Type | Description |\n|------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|-------------------------------|\n| [message](./firebase-functions.pubsub.messagepublisheddata.md#pubsubmessagepublisheddatamessage) | [Message](./firebase-functions.pubsub.message.md#pubsubmessage_class)\\\u003cT\\\u003e | Google Cloud Pub/Sub message. |\n| [subscription](./firebase-functions.pubsub.messagepublisheddata.md#pubsubmessagepublisheddatasubscription) | string | A subscription resource. |\n\npubsub.MessagePublishedData.message\n-----------------------------------\n\nGoogle Cloud Pub/Sub message.\n\n**Signature:** \n\n readonly message: Message\u003cT\u003e;\n\npubsub.MessagePublishedData.subscription\n----------------------------------------\n\nA subscription resource.\n\n**Signature:** \n\n readonly subscription: string;"]]