NAME
Google::Firestore::Admin::V1beta2::Operation - Compiled Protocol Buffers messages for google/firestore/admin/v1beta2/operation.proto
SYNOPSIS
use Google::Firestore::Admin::V1beta2::Operation;
my $msg = Google::Firestore::Admin::V1beta2::Operation::IndexOperationMetadata->new({
start_time => $start_time,
end_time => $end_time,
index => $index,
state => $state,
});
# Read or update a field
my $val = $msg->start_time();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Firestore::Admin::V1beta2::Operation::IndexOperationMetadata->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/firestore/admin/v1beta2/operation.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Firestore::Admin::V1beta2::Operation::IndexOperationMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta2.FirestoreAdmin.CreateIndex].
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this operation completed. Will be unset if operation still in progress.
$msg->index()/$msg->index($value)Type:
StringThe index resource that this operation is acting on. For example: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
$msg->state()/$msg->state($value)Type:
Enum(Google::Firestore::Admin::V1beta2::OperationState)The state of the operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::Progress)The progress, in documents, of this operation.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::Progress)The progress, in bytes, of this operation.
Google::Firestore::Admin::V1beta2::Operation::FieldOperationMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField].
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this operation completed. Will be unset if operation still in progress.
$msg->field()/$msg->field($value)Type:
StringThe field resource that this operation is acting on. For example: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
$msg->index_config_deltas()/$msg->index_config_deltas($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::FieldOperationMetadata::IndexConfigDelta)A list of [IndexConfigDelta][google.firestore.admin.v1beta2.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this operation.
$msg->state()/$msg->state($value)Type:
Enum(Google::Firestore::Admin::V1beta2::OperationState)The state of the operation.
$msg->document_progress()/$msg->document_progress($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::Progress)The progress, in documents, of this operation.
$msg->bytes_progress()/$msg->bytes_progress($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::Progress)The progress, in bytes, of this operation.
Google::Firestore::Admin::V1beta2::Operation::ExportDocumentsMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta2.FirestoreAdmin.ExportDocuments].
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this operation completed. Will be unset if operation still in progress.
$msg->operation_state()/$msg->operation_state($value)Type:
Enum(Google::Firestore::Admin::V1beta2::OperationState)The state of the export operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::Progress)The progress, in documents, of this operation.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::Progress)The progress, in bytes, of this operation.
$msg->collection_ids()/$msg->collection_ids($value)Type:
StringWhich collection ids are being exported.
$msg->output_uri_prefix()/$msg->output_uri_prefix($value)Type:
StringWhere the entities are being exported to.
Google::Firestore::Admin::V1beta2::Operation::ImportDocumentsMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta2.FirestoreAdmin.ImportDocuments].
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this operation completed. Will be unset if operation still in progress.
$msg->operation_state()/$msg->operation_state($value)Type:
Enum(Google::Firestore::Admin::V1beta2::OperationState)The state of the import operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::Progress)The progress, in documents, of this operation.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1beta2::Operation::Progress)The progress, in bytes, of this operation.
$msg->collection_ids()/$msg->collection_ids($value)Type:
StringWhich collection ids are being imported.
$msg->input_uri_prefix()/$msg->input_uri_prefix($value)Type:
StringThe location of the documents being imported.
Google::Firestore::Admin::V1beta2::Operation::ExportDocumentsResponse
Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
Inherits from Protobuf::Message.
Accessors
$msg->output_uri_prefix()/$msg->output_uri_prefix($value)Type:
StringLocation of the output files. This can be used to begin an import into Cloud Firestore (this project or another project) after the operation completes successfully.
Google::Firestore::Admin::V1beta2::Operation::Progress
Describes the progress of the operation. Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1beta2.Progress] is used.
Inherits from Protobuf::Message.
Accessors
$msg->estimated_work()/$msg->estimated_work($value)Type:
Int64The amount of work estimated.
$msg->completed_work()/$msg->completed_work($value)Type:
Int64The amount of work completed.
SEE ALSO
Protobuf, Protobuf::Message, Google::Firestore::Admin::V1beta2::Operation::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.