Package google-cloud-pubsub (2.13.5)

Reference API documentation for google-cloud-pubsub.

Classes

Message

A representation of a single Pub/Sub message.

The common way to interact with .pubsub_v1.subscriber.message.Message objects is to receive them in callbacks on subscriptions; most users should never have a need to instantiate them by hand. (The exception to this is if you are implementing a custom subclass to .pubsub_v1.subscriber._consumer.Consumer.)

The data in the message. Note that this will be a bytes, not a text string.

The time that this message was originally published.

Modules

publisher.client

API documentation for pubsub_v1.publisher.client module.

publisher.futures

API documentation for pubsub_v1.publisher.futures module.

subscriber.client

API documentation for pubsub_v1.subscriber.client module.

subscriber.futures

API documentation for pubsub_v1.subscriber.futures module.

scheduler

Schedulers provide means to schedule callbacks asynchronously.

These are used by the subscriber to call the user-provided callback to process each message.

types

API documentation for pubsub_v1.types module.

publisher.pagers

API documentation for pubsub_v1.services.publisher.pagers module.

subscriber.pagers

API documentation for pubsub_v1.services.subscriber.pagers module.