Get information about processor

get_processor_info(
  proj_id = get_project_id(),
  proc_id = Sys.getenv("DAI_PROCESSOR_ID"),
  loc = "eu",
  token = dai_token()
)

Arguments

proj_id

a GCS project id.

proc_id

a Document AI processor id.

loc

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

token

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

Value

a list.

Examples

if (FALSE) {
info <- get_processor_info()

info <- get_processor_info(proc_id = get_processors()$id[1])
}