processor_types
Creates, updates, deletes, gets or lists a processor_types
resource.
Overview
Name | processor_types |
Type | Resource |
Id | google.documentai.processor_types |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type} |
allowCreation | boolean | Whether the processor type allows creation. If true, users can create a processor of this processor type. Otherwise, users need to request access. |
availableLocations | array | The locations in which this processor is available. |
category | string | The processor category, used by UI to group processor types. |
launchStage | string | Launch stage of the processor type |
sampleDocumentUris | array | A set of Cloud Storage URIs of sample documents for this processor. |
type | string | The processor type, such as: OCR_PROCESSOR , INVOICE_PROCESSOR . |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_fetch_processor_types | SELECT | locationsId, projectsId | Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated. |
projects_locations_processor_types_get | SELECT | locationsId, processorTypesId, projectsId | Gets a processor type detail. |
projects_locations_processor_types_list | SELECT | locationsId, projectsId | Lists the processor types that exist. |
SELECT
examples
Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated.
SELECT
name,
allowCreation,
availableLocations,
category,
launchStage,
sampleDocumentUris,
type
FROM google.documentai.processor_types
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';