View source: R/cloudscheduler.R
cr_schedule_delete | R Documentation |
Deletes a scheduled job.
cr_schedule_delete( x, region = cr_region_get(), projectId = cr_project_get(), pubsub_cleanup = FALSE )
x |
The name of the scheduled job or a Job object |
region |
The region to run within |
projectId |
The projectId |
pubsub_cleanup |
If the Cloud Scheduler is pointing at a Build Trigger/PubSub as deployed by cr_deploy_r will attempt to clean up those resources too. |
TRUE
if job not found or its deleted, FALSE
if it could not delete the job
cloudscheduler.projects.locations.jobs.delete
Other Cloud Scheduler functions:
HttpTarget()
,
Job()
,
PubsubTarget()
,
cr_build_schedule_http()
,
cr_run_schedule_http()
,
cr_schedule_get()
,
cr_schedule_list()
,
cr_schedule_pause()
,
cr_schedule_run()
## Not run: cr_project_set("my-project") cr_region_set("europe-west1") cr_schedule_delete("cloud-build-test1") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.