NAME
Google::Cloud::Documentai::V1::Processor - Compiled Protocol Buffers messages for google/cloud/documentai/v1/processor.proto
SYNOPSIS
use Google::Cloud::Documentai::V1::Processor;
my $msg = Google::Cloud::Documentai::V1::Processor::ProcessorVersion->new({
name => $name,
display_name => $display_name,
document_schema => $document_schema,
state => $state,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Documentai::V1::Processor::ProcessorVersion->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/documentai/v1/processor.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Documentai::V1::Processor::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.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`
$msg->display_name()/$msg->display_name($value)Type:
StringThe display name of the processor version.
$msg->document_schema()/$msg->document_schema($value)Type:
Message(Google::Cloud::Documentai::V1::DocumentSchema::DocumentSchema)Output only. The schema of the processor version. Describes the output.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Documentai::V1::ProcessorVersion::State)Output only. The state of the processor version.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the processor version was created.
$msg->latest_evaluation()/$msg->latest_evaluation($value)Type:
Message(Google::Cloud::Documentai::V1::Evaluation::EvaluationReference)Output only. The most recently invoked evaluation for the processor version.
$msg->kms_key_name()/$msg->kms_key_name($value)Type:
StringOutput only. The KMS key name used for encryption.
$msg->kms_key_version_name()/$msg->kms_key_version_name($value)Type:
StringOutput only. The KMS key version with which data is encrypted.
$msg->google_managed()/$msg->google_managed($value)Type:
BoolOutput only. Denotes that this `ProcessorVersion` is managed by Google.
$msg->deprecation_info()/$msg->deprecation_info($value)Type:
Message(Google::Cloud::Documentai::V1::Processor::ProcessorVersion::DeprecationInfo)Output only. If set, information about the eventual deprecation of this version.
$msg->model_type()/$msg->model_type($value)Type:
Enum(Google::Cloud::Documentai::V1::ProcessorVersion::ModelType)Output only. The model type of this processor version.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
$msg->gen_ai_model_info()/$msg->gen_ai_model_info($value)Type:
Message(Google::Cloud::Documentai::V1::Processor::ProcessorVersion::GenAiModelInfo)Output only. Information about Generative AI model-based processor versions.
Enum: ProcessorVersion::State
STATE_UNSPECIFIED=>0DEPLOYED=>1DEPLOYING=>2UNDEPLOYED=>3UNDEPLOYING=>4CREATING=>5DELETING=>6FAILED=>7IMPORTING=>8
Enum: ProcessorVersion::ModelType
MODEL_TYPE_UNSPECIFIED=>0MODEL_TYPE_GENERATIVE=>1MODEL_TYPE_CUSTOM=>2
Google::Cloud::Documentai::V1::Processor::ProcessorVersionAlias
Contains the alias and the aliased resource name of processor version.
Inherits from Protobuf::Message.
Accessors
$msg->alias()/$msg->alias($value)Type:
StringThe alias in the form of `processor_version` resource name.
$msg->processor_version()/$msg->processor_version($value)Type:
StringThe resource name of aliased processor version.
Google::Cloud::Documentai::V1::Processor::Processor
The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}`
$msg->type()/$msg->type($value)Type:
StringThe processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a list of processor types, see [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes].
$msg->display_name()/$msg->display_name($value)Type:
StringThe display name of the processor.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Documentai::V1::Processor::State)Output only. The state of the processor.
$msg->default_processor_version()/$msg->default_processor_version($value)Type:
StringThe default processor version.
$msg->processor_version_aliases()/$msg->processor_version_aliases($value)Type:
Message(Google::Cloud::Documentai::V1::Processor::ProcessorVersionAlias)Output only. The processor version aliases.
$msg->process_endpoint()/$msg->process_endpoint($value)Type:
StringOutput only. Immutable. The http endpoint that can be called to invoke processing.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the processor was created.
$msg->kms_key_name()/$msg->kms_key_name($value)Type:
StringThe [KMS key](https://cloud.google.com/security-key-management) used for encryption and decryption in CMEK scenarios.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
Enum: Processor::State
STATE_UNSPECIFIED=>0ENABLED=>1DISABLED=>2ENABLING=>3DISABLING=>4CREATING=>5FAILED=>6DELETING=>7
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Documentai::V1::Processor::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.