NAME
Google::Cloud::Documentai::V1::DocumentSchema - Compiled Protocol Buffers messages for google/cloud/documentai/v1/document_schema.proto
SYNOPSIS
use Google::Cloud::Documentai::V1::DocumentSchema;
my $msg = Google::Cloud::Documentai::V1::DocumentSchema::DocumentSchema->new({
display_name => $display_name,
description => $description,
entity_types => $entity_types,
metadata => $metadata,
});
# Read or update a field
my $val = $msg->display_name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Documentai::V1::DocumentSchema::DocumentSchema->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/documentai/v1/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::V1::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 to users.
$msg->description()/$msg->description($value)Type:
StringDescription of the schema.
$msg->entity_types()/$msg->entity_types($value)Type:
Message(Google::Cloud::Documentai::V1::DocumentSchema::DocumentSchema::EntityType)Entity types of the schema.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Documentai::V1::DocumentSchema::DocumentSchema::Metadata)Metadata of the schema.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Documentai::V1::DocumentSchema::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.