Class Processor (2.34.0)

Processor(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.

Attributes

Name Description
name str
Output only. Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor}
type_ str
The processor type, such as: OCR_PROCESSOR, INVOICE_PROCESSOR. To get a list of processor types, see FetchProcessorTypes.
display_name str
The display name of the processor.
state google.cloud.documentai_v1.types.Processor.State
Output only. The state of the processor.
default_processor_version str
The default processor version.
processor_version_aliases MutableSequence[google.cloud.documentai_v1.types.ProcessorVersionAlias]
Output only. The processor version aliases.
process_endpoint str
Output only. Immutable. The http endpoint that can be called to invoke processing.
create_time google.protobuf.timestamp_pb2.Timestamp
The time the processor was created.
kms_key_name str
The `KMS key
satisfies_pzs bool
Output only. Reserved for future use.
satisfies_pzi bool
Output only. Reserved for future use.

Classes

State

State(value)

The possible states of the processor.