Seems not to work at the moment (issue #16)

cr_buildtrigger_edit(BuildTrigger, triggerId, projectId = cr_project_get())

Arguments

BuildTrigger

The BuildTrigger object to update to

triggerId

ID of the `BuildTrigger` to edit or a previous BuildTriggerResponse object that will be edited

projectId

ID of the project that owns the trigger

See also

Examples

if (FALSE) { github <- GitHubEventsConfig("MarkEdmondson1234/googleCloudRunner", branch = "master") bt2 <- cr_buildtrigger("trig2", trigger = github, build = "inst/cloudbuild/cloudbuild.yaml") bt3 <- BuildTrigger( filename = "inst/cloudbuild/cloudbuild.yaml", name = "edited1", tags = "edit", github = github, disabled = TRUE, description = "edited trigger") edited <- cr_buildtrigger_edit(bt3, triggerId = bt2) }