Pubsub Target Object (Cloud Scheduler)
PubsubTarget(topicName = NULL, data = NULL, attributes = NULL)
The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered.
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 for PubsubMessage.
PubsubTarget object
Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.
Other Cloud Scheduler functions:
HttpTarget()
,
Job()
,
cr_build_schedule_http()
,
cr_run_schedule_http()
,
cr_schedule_delete()
,
cr_schedule_get()
,
cr_schedule_list()
,
cr_schedule_pause()
,
cr_schedule_run()