Gcloud::Pubsub::Topic::Batch

Batch object used to publish multiple messages at once.

Methods

Public Instance Methods

publish(data, attributes = {})

Add multiple messages to the topic. All messages added will be published at once. See Gcloud::Pubsub::Topic#publish