In the pubsub surface docs page, we use long-style imports instead of the shortcut ones, that is:
fromgcloud.pubsub.topicimportTopictopic=Topic('topic_name')instead of
fromgcloudimportpubsubtopic=pubsub.Topic('topic_name')or
fromgcloud.pubsubimportTopictopic=Topic('topic_name')
In the pubsub surface docs page, we use long-style imports instead of the shortcut ones, that is:
instead of
or