List versions of available processors of a given type

get_versions_by_type(
  type,
  proj_id = get_project_id(),
  loc = "eu",
  token = dai_token()
)

Arguments

type

name of a processor type, e.g. "FORM_PARSER_PROCESSOR".

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

a message with the available version aliases and full names

Examples

if (FALSE) { # \dontrun{
get_versions_by_type("OCR_PROCESSOR")
} # }