Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ProcessorVersion.
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.
Generated from protobuf messagegoogle.cloud.documentai.v1.ProcessorVersion
Namespace
Google \ Cloud \ DocumentAI \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the processor version. Format:projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Document Ai V1 Client - Class ProcessorVersion (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-document-ai/latest/V1.ProcessorVersion)\n- [2.2.2](/php/docs/reference/cloud-document-ai/2.2.2/V1.ProcessorVersion)\n- [2.1.3](/php/docs/reference/cloud-document-ai/2.1.3/V1.ProcessorVersion)\n- [2.0.0](/php/docs/reference/cloud-document-ai/2.0.0/V1.ProcessorVersion)\n- [1.14.0](/php/docs/reference/cloud-document-ai/1.14.0/V1.ProcessorVersion)\n- [1.13.1](/php/docs/reference/cloud-document-ai/1.13.1/V1.ProcessorVersion)\n- [1.12.2](/php/docs/reference/cloud-document-ai/1.12.2/V1.ProcessorVersion)\n- [1.9.0](/php/docs/reference/cloud-document-ai/1.9.0/V1.ProcessorVersion)\n- [1.8.2](/php/docs/reference/cloud-document-ai/1.8.2/V1.ProcessorVersion)\n- [1.7.0](/php/docs/reference/cloud-document-ai/1.7.0/V1.ProcessorVersion)\n- [1.6.0](/php/docs/reference/cloud-document-ai/1.6.0/V1.ProcessorVersion)\n- [1.5.0](/php/docs/reference/cloud-document-ai/1.5.0/V1.ProcessorVersion)\n- [1.4.0](/php/docs/reference/cloud-document-ai/1.4.0/V1.ProcessorVersion)\n- [1.3.0](/php/docs/reference/cloud-document-ai/1.3.0/V1.ProcessorVersion)\n- [1.2.2](/php/docs/reference/cloud-document-ai/1.2.2/V1.ProcessorVersion)\n- [1.1.1](/php/docs/reference/cloud-document-ai/1.1.1/V1.ProcessorVersion)\n- [1.0.1](/php/docs/reference/cloud-document-ai/1.0.1/V1.ProcessorVersion) \nReference documentation and code samples for the Google Cloud Document Ai V1 Client class ProcessorVersion.\n\nA processor version is an implementation of a processor. Each processor\ncan have multiple versions, pretrained by Google internally or uptrained\nby the customer. A processor can only have one default version at a time.\n\nIts document-processing behavior is defined by that version.\n\nGenerated from protobuf message `google.cloud.documentai.v1.ProcessorVersion`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DocumentAI \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the processor version.\n\nFormat:\n`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`\n\n### setName\n\nIdentifier. The resource name of the processor version.\n\nFormat:\n`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`\n\n### getDisplayName\n\nThe display name of the processor version.\n\n### setDisplayName\n\nThe display name of the processor version.\n\n### getDocumentSchema\n\nOutput only. The schema of the processor version. Describes the output.\n\n### hasDocumentSchema\n\n### clearDocumentSchema\n\n### setDocumentSchema\n\nOutput only. The schema of the processor version. Describes the output.\n\n### getState\n\nOutput only. The state of the processor version.\n\n### setState\n\nOutput only. The state of the processor version.\n\n### getCreateTime\n\nOutput only. The time the processor version was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time the processor version was created.\n\n### getLatestEvaluation\n\nOutput only. The most recently invoked evaluation for the processor\nversion.\n\n### hasLatestEvaluation\n\n### clearLatestEvaluation\n\n### setLatestEvaluation\n\nOutput only. The most recently invoked evaluation for the processor\nversion.\n\n### getKmsKeyName\n\nOutput only. The KMS key name used for encryption.\n\n### setKmsKeyName\n\nOutput only. The KMS key name used for encryption.\n\n### getKmsKeyVersionName\n\nOutput only. The KMS key version with which data is encrypted.\n\n### setKmsKeyVersionName\n\nOutput only. The KMS key version with which data is encrypted.\n\n### getGoogleManaged\n\nOutput only. Denotes that this `ProcessorVersion` is managed by Google.\n\n### setGoogleManaged\n\nOutput only. Denotes that this `ProcessorVersion` is managed by Google.\n\n### getDeprecationInfo\n\nOutput only. If set, information about the eventual deprecation of this\nversion.\n\n### hasDeprecationInfo\n\n### clearDeprecationInfo\n\n### setDeprecationInfo\n\nOutput only. If set, information about the eventual deprecation of this\nversion.\n\n### getModelType\n\nOutput only. The model type of this processor version.\n\n### setModelType\n\nOutput only. The model type of this processor version.\n\n### getSatisfiesPzs\n\nOutput only. Reserved for future use.\n\n### setSatisfiesPzs\n\nOutput only. Reserved for future use.\n\n### getSatisfiesPzi\n\nOutput only. Reserved for future use.\n\n### setSatisfiesPzi\n\nOutput only. Reserved for future use.\n\n### getGenAiModelInfo\n\nOutput only. Information about Generative AI model-based processor\nversions.\n\n### hasGenAiModelInfo\n\n### clearGenAiModelInfo\n\n### setGenAiModelInfo\n\nOutput only. Information about Generative AI model-based processor\nversions."]]