From 2b69303385575f06ad0bbe08bde4f1f2a7064e3f Mon Sep 17 00:00:00 2001 From: Alix Hamilton Date: Tue, 22 May 2018 09:04:53 -0700 Subject: [PATCH] Pubsub: Add missing region tag --- pubsub/cloud-client/publisher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pubsub/cloud-client/publisher.py b/pubsub/cloud-client/publisher.py index f2f5e3ac608..f77f6ba787e 100644 --- a/pubsub/cloud-client/publisher.py +++ b/pubsub/cloud-client/publisher.py @@ -64,6 +64,7 @@ def delete_topic(project, topic_name): def publish_messages(project, topic_name): """Publishes multiple messages to a Pub/Sub topic.""" # [START pubsub_quickstart_publisher] + # [START pubsub_publish] publisher = pubsub_v1.PublisherClient() topic_path = publisher.topic_path(project, topic_name) @@ -75,6 +76,7 @@ def publish_messages(project, topic_name): print('Published messages.') # [END pubsub_quickstart_publisher] + # [END pubsub_publish] def publish_messages_with_custom_attributes(project, topic_name):