platypush.message.event.google.pubsub

class platypush.message.event.google.pubsub.GooglePubsubMessageEvent(topic: str, msg, *args, **kwargs)[source]

Event triggered when a new message is received on a subscribed Google Pub/Sub topic.

__init__(topic: str, msg, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]