View source: R/cloudscheduler.R
PubsubTarget | R Documentation |
Pubsub Target Object (Cloud Scheduler)
PubsubTarget(topicName = NULL, data = NULL, attributes = NULL)
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. |
Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.
PubsubTarget object
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.