From 9c5187ded6a029512977b261e1adb07417a42263 Mon Sep 17 00:00:00 2001 From: Calvin Jeong Date: Tue, 9 Jul 2019 21:20:43 +1000 Subject: [PATCH] Fix typo --- pubsub/docs/publisher/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub/docs/publisher/index.rst b/pubsub/docs/publisher/index.rst index a8485632c6f8..2a785359c443 100644 --- a/pubsub/docs/publisher/index.rst +++ b/pubsub/docs/publisher/index.rst @@ -84,7 +84,7 @@ If you need different batching settings, simply provide a from google.cloud.pubsub import types client = pubsub.PublisherClient( - batch_settings=BatchSettings(max_messages=500), + batch_settings=types.BatchSettings(max_messages=500), ) Pub/Sub accepts a maximum of 1,000 messages in a batch, and the size of a