Class ProcessorVersion (2.22.0)

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

A processor version is an implementation of a processor. Each processor can have multiple versions, pretrained by Google internally or uptrained by the customer. A processor can only have one default version at a time. Its document-processing behavior is defined by that version.

Attributes

NameDescription
name str
The resource name of the processor version. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
display_name str
The display name of the processor version.
document_schema google.cloud.documentai_v1beta3.types.DocumentSchema
The schema of the processor version. Describes the output.
state google.cloud.documentai_v1beta3.types.ProcessorVersion.State
The state of the processor version.
create_time google.protobuf.timestamp_pb2.Timestamp
The time the processor version was created.
latest_evaluation google.cloud.documentai_v1beta3.types.EvaluationReference
The most recently invoked evaluation for the processor version.
kms_key_name str
The KMS key name used for encryption.
kms_key_version_name str
The KMS key version with which data is encrypted.
google_managed bool
Output only. Denotes that this ProcessorVersion is managed by Google.
deprecation_info google.cloud.documentai_v1beta3.types.ProcessorVersion.DeprecationInfo
If set, information about the eventual deprecation of this version.

Classes

DeprecationInfo

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

Information about the upcoming deprecation of this processor version.

State

State(value)

The possible states of the processor version.

Values: STATE_UNSPECIFIED (0): The processor version is in an unspecified state. DEPLOYED (1): The processor version is deployed and can be used for processing. DEPLOYING (2): The processor version is being deployed. UNDEPLOYED (3): The processor version is not deployed and cannot be used for processing. UNDEPLOYING (4): The processor version is being undeployed. CREATING (5): The processor version is being created. DELETING (6): The processor version is being deleted. FAILED (7): The processor version failed and is in an indeterminate state. IMPORTING (8): The processor version is being imported.