Pubsub Target Object (Cloud Scheduler)

PubsubTarget(topicName = NULL, data = NULL, attributes = NULL)

Arguments

topicName

The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered.

data

The message payload for PubsubMessage. An R object that will be turned into JSON via [jsonlite] and then base64 encoded into the PubSub format.

attributes

Attributes for PubsubMessage.

Value

PubsubTarget object

Details

Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.