Resource: Processor
The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.
| JSON representation |
|---|
{ "name": string, "type": string, "displayName": string, "state": enum ( |
| Fields | |
|---|---|
name |
Output only. Immutable. The resource name of the processor. Format: |
type |
The processor type, such as: |
displayName |
The display name of the processor. |
state |
Output only. The state of the processor. |
defaultProcessorVersion |
The default processor version. |
processorVersionAliases[] |
Output only. The processor version aliases. |
processEndpoint |
Output only. Immutable. The http endpoint that can be called to invoke processing. |
createTime |
Output only. The time the processor was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
kmsKeyName |
The KMS key used for encryption and decryption in CMEK scenarios. |
satisfiesPzs |
Output only. Reserved for future use. |
satisfiesPzi |
Output only. Reserved for future use. |
activeSchemaVersion |
Optional. SchemaVersion used by the Processor. It is the same as Processor's |
Methods |
|
|---|---|
|
LRO endpoint to batch process many documents. |
|
Creates a processor from the ProcessorType provided. |
|
Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor. |
|
Disables a processor |
|
Enables a processor |
|
Gets a processor detail. |
|
Lists all processors which belong to this project. |
|
Processes a single document. |
|
Set the default (active) version of a Processor that will be used in ProcessDocument and BatchProcessDocuments. |
|
Updates metadata associated with a dataset. |