Disable processor

disable_processor(
  proc_id,
  proj_id = get_project_id(),
  loc = "eu",
  token = dai_token()
)

Arguments

proc_id

a Document AI processor id.

proj_id

a GCS project id.

loc

a two-letter region code; "eu" or "us".

token

an authentication token generated by dai_auth() or another auth function.

Value

no return value, called for side effects

Examples

if (FALSE) { # \dontrun{
disable_processor(proc_id = get_processors()$id[1])
} # }