Class ProcessorVersion (3.0.1)

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.
gen_ai_model_info google.cloud.documentai_v1.types.ProcessorVersion.GenAiModelInfo
Output only. Information about Generative AI model-based processor versions.

Classes

DeprecationInfo

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

Information about the upcoming deprecation of this processor version.

GenAiModelInfo

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

Information about Generative AI model-based processor versions.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

ModelType

ModelType(value)

The possible model types of the processor version.

State

State(value)

The possible states of the processor version.