NAME

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

SYNOPSIS

use Google::Cloud::Documentai::V1::OperationMetadata;

my $msg = Google::Cloud::Documentai::V1::OperationMetadata::CommonOperationMetadata->new({
    state => $state,
    state_message => $state_message,
    resource => $resource,
    create_time => $create_time,
});

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

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

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

DESCRIPTION

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

The common metadata for long running operations.

Inherits from Protobuf::Message.

Accessors

Enum: CommonOperationMetadata::State

  • STATE_UNSPECIFIED => 0

  • RUNNING => 1

  • CANCELLING => 2

  • SUCCEEDED => 3

  • FAILED => 4

  • CANCELLED => 5

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.