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.
| JSON representation |
|---|
{ "name" : string , "displayName" : string , "documentSchema" : { object ( |
| Fields | |
|---|---|
name
|
Identifier. The resource name of the processor version. Format: |
displayName
|
The display name of the processor version. |
documentSchema
|
Output only. The schema of the processor version. Describes the output. |
state
|
Output only. The state of the processor version. |
createTime
|
Output only. The time the processor version was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
latestEvaluation
|
Output only. The most recently invoked evaluation for the processor version. |
kmsKeyName
|
Output only. The KMS key name used for encryption. |
kmsKeyVersionName
|
Output only. The KMS key version with which data is encrypted. |
googleManaged
|
Output only. Denotes that this |
deprecationInfo
|
Output only. If set, information about the eventual deprecation of this version. |
modelType
|
Output only. The model type of this processor version. |
satisfiesPzs
|
Output only. Reserved for future use. |
satisfiesPzi
|
Output only. Reserved for future use. |
genAiModelInfo
|
Output only. Information about Generative AI model-based processor versions. |
DeprecationInfo
Information about the upcoming deprecation of this processor version.
| JSON representation |
|---|
{ "deprecationTime" : string , "replacementProcessorVersion" : string } |
| Fields | |
|---|---|
deprecationTime
|
The time at which this processor version will be deprecated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
replacementProcessorVersion
|
If set, the processor version that will be used as a replacement. |
GenAiModelInfo
Information about Generative AI model-based processor versions.
| JSON representation |
|---|
{ // Union field |
model_info
. The processor version is either a pretrained Google-managed foundation model or a custom Generative AI model created by the user. model_info
can be only one of the following:foundationGenAiModelInfo
object (
FoundationGenAiModelInfo
)
Information for a pretrained Google-managed foundation model.
customGenAiModelInfo
object (
CustomGenAiModelInfo
)
Information for a custom Generative AI model created by the user.
FoundationGenAiModelInfo
Information for a pretrained Google-managed foundation model.
| JSON representation |
|---|
{ "finetuningAllowed" : boolean , "minTrainLabeledDocuments" : integer } |
| Fields | |
|---|---|
finetuningAllowed
|
Whether fine tuning is allowed for this base processor version. |
minTrainLabeledDocuments
|
The minimum number of labeled documents in the training dataset required for fine tuning. |
CustomGenAiModelInfo
Information for a custom Generative AI model created by the user. These are created with Create New Version
in either the Call foundation
model
or Fine tuning
tabs.
| JSON representation |
|---|
{
"customModelType"
:
enum (
|
| Fields | |
|---|---|
customModelType
|
The type of custom model created by the user. |
baseProcessorVersionId
|
The base processor version ID for the custom model. |

