Class ProcessorVersion (2.15.0)

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

A processor version is an implementation of a processor. Each processor can have multiple versions, pre-trained by Google internally or up-trained by the customer. At a time, a processor can only have one default version version. So the processor's behavior (when processing documents) is defined by a default 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_v1.types.DocumentSchema
The schema of the processor version. Describes the output.
state google.cloud.documentai_v1.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_v1.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
Denotes that this ProcessorVersion is managed by google.
deprecation_info google.cloud.documentai_v1.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.