NAME
Google::Cloud::Documentai::V1beta3::DocumentSchema - Compiled Protocol Buffers messages for google/cloud/documentai/v1beta3/document_schema.proto
SYNOPSIS
use Google::Cloud::Documentai::V1beta3::DocumentSchema;
my $msg = Google::Cloud::Documentai::V1beta3::DocumentSchema::SummaryOptions->new({
length => $length,
format => $format,
});
# Read or update a field
my $val = $msg->length();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Documentai::V1beta3::DocumentSchema::SummaryOptions->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/documentai/v1beta3/document_schema.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::DocumentSchema::SummaryOptions
Metadata for document summarization.
Inherits from Protobuf::Message.
Accessors
$msg->length()/$msg->length($value)Type:
Enum(Google::Cloud::Documentai::V1beta3::SummaryOptions::Length)How long the summary should be.
$msg->format()/$msg->format($value)Type:
Enum(Google::Cloud::Documentai::V1beta3::SummaryOptions::Format)The format the summary should be in.
Enum: SummaryOptions::Length
LENGTH_UNSPECIFIED=>0BRIEF=>1MODERATE=>2COMPREHENSIVE=>3
Enum: SummaryOptions::Format
FORMAT_UNSPECIFIED=>0PARAGRAPH=>1BULLETS=>2
Google::Cloud::Documentai::V1beta3::DocumentSchema::FieldExtractionMetadata
Metadata for how this field value is extracted.
Inherits from Protobuf::Message.
Accessors
$msg->summary_options()/$msg->summary_options($value)Type:
Message(Google::Cloud::Documentai::V1beta3::DocumentSchema::SummaryOptions)Summary options config.
Google::Cloud::Documentai::V1beta3::DocumentSchema::PropertyMetadata
Metadata about a property.
Inherits from Protobuf::Message.
Accessors
$msg->inactive()/$msg->inactive($value)Type:
BoolWhether the property should be considered as "inactive".
$msg->field_extraction_metadata()/$msg->field_extraction_metadata($value)Type:
Message(Google::Cloud::Documentai::V1beta3::DocumentSchema::FieldExtractionMetadata)Field extraction metadata on the property.
Google::Cloud::Documentai::V1beta3::DocumentSchema::EntityTypeMetadata
Metadata about an entity type.
Inherits from Protobuf::Message.
Accessors
$msg->inactive()/$msg->inactive($value)Type:
BoolWhether the entity type should be considered inactive.
Google::Cloud::Documentai::V1beta3::DocumentSchema::DocumentSchema
The schema defines the output of the processed document by a processor.
Inherits from Protobuf::Message.
Accessors
$msg->display_name()/$msg->display_name($value)Type:
StringDisplay name to show users.
$msg->description()/$msg->description($value)Type:
StringDescription of the schema.
$msg->entity_types()/$msg->entity_types($value)Type:
Message(Google::Cloud::Documentai::V1beta3::DocumentSchema::DocumentSchema::EntityType)Entity types of the schema.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Documentai::V1beta3::DocumentSchema::DocumentSchema::Metadata)Metadata of the schema.
$msg->document_prompt()/$msg->document_prompt($value)Type:
StringOptional. Document level prompt provided by the user. This custom text is injected into the AI model's prompt to provide extra, document-wide guidance for processing.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Documentai::V1beta3::DocumentSchema::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.