Module client (0.43.0)

API documentation for pubsub_v1.publisher.client module.

Classes

Client

Client(batch_settings=(), **kwargs)

A publisher client for Google Cloud Pub/Sub.

This creates an object that is capable of publishing messages. Generally, you can instantiate this client with no arguments, and you get sensible defaults.

Parameters
NameDescription
kwargs dict

Any additional arguments provided are sent as keyword arguments to the underlying .gapic.pubsub.v1.publisher_client.PublisherClient. Generally, you should not need to set additional keyword arguments. Before being passed along to the GAPIC constructor, a channel may be added if credentials are passed explicitly or if the Pub / Sub emulator is detected as running.

batch_settings BatchSettings

The settings for batch publishing.