[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-24 UTC."],[],[],null,["The Google Cloud Pub/Sub topic builder.\n\nAccess via `functions.pubsub.topic()`.\n\n**Signature:** \n\n export declare class TopicBuilder \n\nConstructors\n\nMethods\n\npubsub.TopicBuilder.(constructor)\n\nConstructs a new instance of the `TopicBuilder` class\n\n**Signature:** \n\n constructor(triggerResource: () =\u003e string, options: DeploymentOptions);\n\nParameters\n\npubsub.TopicBuilder.onPublish()\n\nEvent handler that fires every time a Cloud Pub/Sub message is published.\n\n**Signature:** \n\n onPublish(handler: (message: Message, context: EventContext) =\u003e PromiseLike\u003cany\u003e | any): CloudFunction\u003cMessage\u003e;\n\nParameters\n\n**Returns:**\n\n[CloudFunction](./firebase-functions.cloudfunction.md#cloudfunction_interface)\\\u003c[Message](./firebase-functions.pubsub.message.md#pubsubmessage_class)\\\u003e\n\nA function that you can export and deploy."]]