From 2093e3e6dde08b265987ec4cceb32d7f14f783d5 Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Mon, 21 Sep 2020 12:06:04 -0700 Subject: [PATCH] chore(functions): show client library init (#1980) --- functions/pubsub/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions/pubsub/index.js b/functions/pubsub/index.js index f306ae8993..6a056f433f 100644 --- a/functions/pubsub/index.js +++ b/functions/pubsub/index.js @@ -14,14 +14,12 @@ 'use strict'; -// [START functions_pubsub_setup] +// [START functions_pubsub_publish] const {PubSub} = require('@google-cloud/pubsub'); // Instantiates a client const pubsub = new PubSub(); -// [END functions_pubsub_setup] -// [START functions_pubsub_publish] /** * Publishes a message to a Cloud Pub/Sub Topic. *