Publish with batching settings  |  Pub/Sub  |  Google Cloud Documentation

Creates a publisher client with custom batching settings and uses it to publish some messages.