NAME

Google::Cloud::Documentai::V1::ProcessorType - Compiled Protocol Buffers messages for google/cloud/documentai/v1/processor_type.proto

SYNOPSIS

use Google::Cloud::Documentai::V1::ProcessorType;

my $msg = Google::Cloud::Documentai::V1::ProcessorType::ProcessorType->new({
    name => $name,
    type => $type,
    category => $category,
    available_locations => $available_locations,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Documentai::V1::ProcessorType::ProcessorType->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/documentai/v1/processor_type.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::ProcessorType::ProcessorType

A processor type is responsible for performing a certain document understanding task on a certain type of document.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the processor type. Format: `projects/{project}/processorTypes/{processor_type}`

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

    Type: String

    The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.

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

    Type: String

    The processor category, used by UI to group processor types.

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

    Type: Message (Google::Cloud::Documentai::V1::ProcessorType::ProcessorType::LocationInfo)

    The locations in which this processor is available.

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

    Type: Bool

    Whether the processor type allows creation. If true, users can create a processor of this processor type. Otherwise, users need to request access.

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

    Type: Enum (Google::Api::LaunchStage)

    Launch stage of the processor type

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

    Type: String

    A set of Cloud Storage URIs of sample documents for this processor.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Documentai::V1::ProcessorType::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.