List available processor types

list_processor_types(
  full_list = FALSE,
  proj_id = get_project_id(),
  loc = "eu",
  token = dai_token()
)

Arguments

full_list

boolean.

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

list or character vector

Details

Retrieves information about the processors that can be created in the current project. With full_list = TRUE it returns a list with detailed information about each processor. With full_list = FALSE it returns a character vector with just the processor names. For more information about processors, see the Google Document AI documentation at https://cloud.google.com/document-ai/docs/.

Examples

if (FALSE) { # \dontrun{
avail_short <- list_processor_types()
avail_long <- list_processor_types(full_list = TRUE)
} # }