import { ResetValue } from "../../common/options"; import { CloudEvent, CloudFunction } from "../core"; import { Expression } from "../../params"; import * as options from "../options"; import { SecretParam } from "../../params/types"; /** * Google Cloud Pub/Sub is a globally distributed message bus that automatically scales as you need it. * You can create a function ({@link onMessagePublished}) that handles pub/sub events by using functions.pubsub. * * This function triggers whenever a new pub/sub message is sent to a specific topic. * You must specify the Pub/Sub topic name that you want to trigger your function, and set the event within the * onPublish() event handler. * * PubSub Topic: *