From 5c5f3353d08ae02aeaf19c382ae3194b72b812f0 Mon Sep 17 00:00:00 2001 From: Jennifer Davis Date: Mon, 28 Oct 2024 14:21:41 -0700 Subject: [PATCH] fix(functions): remove invalid parameter for gcloud functions (#3909) --- functions/pubsub/publish/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/functions/pubsub/publish/index.js b/functions/pubsub/publish/index.js index 507652c748..2f77741ffa 100644 --- a/functions/pubsub/publish/index.js +++ b/functions/pubsub/publish/index.js @@ -23,11 +23,6 @@ const pubsub = new PubSub(); /** * Publishes a message to a Cloud Pub/Sub Topic. * - * @example - * gcloud functions call publish --data '{"topic":"[YOUR_TOPIC_NAME]","message":"Hello, world!"}' - * - * - Replace `[YOUR_TOPIC_NAME]` with your Cloud Pub/Sub topic name. - * * @param {object} req Cloud Function request context. * @param {object} req.body The request body. * @param {string} req.body.topic Topic name on which to publish.