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
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Documentai::V1::CommonOperationMetadata::State)The state of the operation.
$msg->state_message()/$msg->state_message($value)Type:
StringA message providing more details about the current state of processing.
$msg->resource()/$msg->resource($value)Type:
StringA related resource to this operation.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The creation time of the operation.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The last update time of the operation.
Enum: CommonOperationMetadata::State
STATE_UNSPECIFIED=>0RUNNING=>1CANCELLING=>2SUCCEEDED=>3FAILED=>4CANCELLED=>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.