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