Class ProcessorVersion (2.28.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

Name Description
name str
Identifier. 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
Output only. 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
Output only. 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.
model_type google.cloud.documentai_v1.types.ProcessorVersion.ModelType
Output only. The model type of this processor version.
satisfies_pzs bool
Output only. Reserved for future use.
satisfies_pzi bool
Output only. Reserved for future use.

Classes

DeprecationInfo

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

Information about the upcoming deprecation of this processor version.

ModelType

ModelType(value)

The possible model types of the processor version.

State

State(value)

The possible states of the processor version.