- 3.1.0 (latest)
- 3.0.1
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.3
- 2.28.0
- 2.27.1
- 2.26.0
- 2.25.0
- 2.24.2
- 2.23.0
- 2.22.0
- 2.21.1
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.1
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.1
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.3
- 1.5.1
- 1.4.2
- 1.3.0
- 1.2.1
- 1.1.0
- 1.0.0
- 0.5.2
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.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_v1beta3.types.DocumentSchema
The schema of the processor version. Describes the output. |
state |
google.cloud.documentai_v1beta3.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_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. |
model_type |
google.cloud.documentai_v1beta3.types.ProcessorVersion.ModelType
Output only. The model type of this processor version. |
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.
Values: MODEL_TYPE_UNSPECIFIED (0): The processor version has unspecified model type. MODEL_TYPE_GENERATIVE (1): The processor version has generative model type. MODEL_TYPE_CUSTOM (2): The processor version has custom model type.
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.