NAME

Google::Cloud::Documentai::V1beta3::Processor - Compiled Protocol Buffers messages for google/cloud/documentai/v1beta3/processor.proto

SYNOPSIS

use Google::Cloud::Documentai::V1beta3::Processor;

my $msg = Google::Cloud::Documentai::V1beta3::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::V1beta3::Processor::ProcessorVersion->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/documentai/v1beta3/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::V1beta3::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: String

    Identifier. 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: String

    The display name of the processor version.

  • $msg->document_schema() / $msg->document_schema($value)

    Type: Message (Google::Cloud::Documentai::V1beta3::DocumentSchema::DocumentSchema)

    Output only. The schema of the processor version. Describes the output.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Documentai::V1beta3::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::V1beta3::Evaluation::EvaluationReference)

    Output only. The most recently invoked evaluation for the processor version.

  • $msg->kms_key_name() / $msg->kms_key_name($value)

    Type: String

    Output only. The KMS key name used for encryption.

  • $msg->kms_key_version_name() / $msg->kms_key_version_name($value)

    Type: String

    Output only. The KMS key version with which data is encrypted.

  • $msg->google_managed() / $msg->google_managed($value)

    Type: Bool

    Output only. Denotes that this `ProcessorVersion` is managed by Google.

  • $msg->deprecation_info() / $msg->deprecation_info($value)

    Type: Message (Google::Cloud::Documentai::V1beta3::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::V1beta3::ProcessorVersion::ModelType)

    Output only. The model type of this processor version.

  • $msg->satisfies_pzs() / $msg->satisfies_pzs($value)

    Type: Bool

    Output only. Reserved for future use.

  • $msg->satisfies_pzi() / $msg->satisfies_pzi($value)

    Type: Bool

    Output only. Reserved for future use.

  • $msg->gen_ai_model_info() / $msg->gen_ai_model_info($value)

    Type: Message (Google::Cloud::Documentai::V1beta3::Processor::ProcessorVersion::GenAiModelInfo)

    Output only. Information about Generative AI model-based processor versions.

  • $msg->grounding_settings() / $msg->grounding_settings($value)

    Type: Message (Google::Cloud::Documentai::V1beta3::Processor::GroundingSettings)

    Output only. The grounding settings of the processor version. This can only be set using TrainProcessorVersionRequest to override the default grounding settings.

Enum: ProcessorVersion::State

  • STATE_UNSPECIFIED => 0

  • DEPLOYED => 1

  • DEPLOYING => 2

  • UNDEPLOYED => 3

  • UNDEPLOYING => 4

  • CREATING => 5

  • DELETING => 6

  • FAILED => 7

  • IMPORTING => 8

Enum: ProcessorVersion::ModelType

  • MODEL_TYPE_UNSPECIFIED => 0

  • MODEL_TYPE_GENERATIVE => 1

  • MODEL_TYPE_CUSTOM => 2

Google::Cloud::Documentai::V1beta3::Processor::ProcessorVersionAlias

Contains the alias and the aliased resource name of processor version.

Inherits from Protobuf::Message.

Accessors

  • $msg->alias() / $msg->alias($value)

    Type: String

    The alias in the form of `processor_version` resource name.

  • $msg->processor_version() / $msg->processor_version($value)

    Type: String

    The resource name of aliased processor version.

Google::Cloud::Documentai::V1beta3::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: String

    Output only. Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}`

  • $msg->type() / $msg->type($value)

    Type: String

    The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a list of processor types, see [FetchProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.FetchProcessorTypes].

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The display name of the processor.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Documentai::V1beta3::Processor::State)

    Output only. The state of the processor.

  • $msg->default_processor_version() / $msg->default_processor_version($value)

    Type: String

    The default processor version.

  • $msg->processor_version_aliases() / $msg->processor_version_aliases($value)

    Type: Message (Google::Cloud::Documentai::V1beta3::Processor::ProcessorVersionAlias)

    Output only. The processor version aliases.

  • $msg->process_endpoint() / $msg->process_endpoint($value)

    Type: String

    Output 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: String

    The [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: Bool

    Output only. Reserved for future use.

  • $msg->satisfies_pzi() / $msg->satisfies_pzi($value)

    Type: Bool

    Output only. Reserved for future use.

Enum: Processor::State

  • STATE_UNSPECIFIED => 0

  • ENABLED => 1

  • DISABLED => 2

  • ENABLING => 3

  • DISABLING => 4

  • CREATING => 5

  • FAILED => 6

  • DELETING => 7

Google::Cloud::Documentai::V1beta3::Processor::GroundingSettings

Settings for grounding extractions.

Inherits from Protobuf::Message.

Accessors

Enum: GroundingSettings::GroundingType

  • GROUNDING_TYPE_UNSPECIFIED => 0

  • HARD => 1

  • OCR_RELAXED => 2

  • NO_GROUNDING => 3

Google::Cloud::Documentai::V1beta3::Processor::ProcessorVersionOverrides

Overrides to apply when creating a new processor version.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Documentai::V1beta3::Processor::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.