Module publisher.client (2.12.1)

API documentation for pubsub_v1.publisher.client module.

Classes

Client

Client(
    batch_settings: Union[google.cloud.pubsub_v1.types.BatchSettings, Sequence] = (),
    publisher_options: Union[
        google.cloud.pubsub_v1.types.PublisherOptions, Sequence
    ] = (),
    **kwargs: Any
)

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.