get_ids_by_type: List ids of available processors of a given type

View source: R/processors.R

get_ids_by_typeR Documentation

List ids of available processors of a given type

Description

List ids of available processors of a given type

Usage

get_ids_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 vector of processor ids.

Examples

## Not run: 
get_ids_by_type("OCR_PROCESSOR")

## End(Not run)

Hegghammer/daiR documentation built on Nov. 15, 2024, 10:34 p.m.