cr_schedule_delete: Deletes a scheduled job.

View source: R/cloudscheduler.R

cr_schedule_deleteR Documentation

Deletes a scheduled job.

Description

Deletes a scheduled job.

Usage

cr_schedule_delete(
  x,
  region = cr_region_get(),
  projectId = cr_project_get(),
  pubsub_cleanup = FALSE
)

Arguments

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.

Value

TRUE if job not found or its deleted, FALSE if it could not delete the job

See Also

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()

Examples


## Not run: 
cr_project_set("my-project")
cr_region_set("europe-west1")
cr_schedule_delete("cloud-build-test1")


## End(Not run)

googleCloudRunner documentation built on March 18, 2022, 8 p.m.