NAME
Google::Firestore::Admin::V1::Operation - Compiled Protocol Buffers messages for google/firestore/admin/v1/operation.proto
SYNOPSIS
use Google::Firestore::Admin::V1::Operation;
my $msg = Google::Firestore::Admin::V1::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::V1::Operation::IndexOperationMetadata->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/firestore/admin/v1/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::V1::Operation::IndexOperationMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.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::V1::OperationState)The state of the operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)The progress, in documents, of this operation.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)The progress, in bytes, of this operation.
Google::Firestore::Admin::V1::Operation::FieldOperationMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.UpdateField][google.firestore.admin.v1.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::V1::Operation::FieldOperationMetadata::IndexConfigDelta)A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this operation.
$msg->state()/$msg->state($value)Type:
Enum(Google::Firestore::Admin::V1::OperationState)The state of the operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)The progress, in documents, of this operation.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)The progress, in bytes, of this operation.
$msg->ttl_config_delta()/$msg->ttl_config_delta($value)Type:
Message(Google::Firestore::Admin::V1::Operation::FieldOperationMetadata::TtlConfigDelta)Describes the deltas of TTL configuration.
Google::Firestore::Admin::V1::Operation::ExportDocumentsMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.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::V1::OperationState)The state of the export operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)The progress, in documents, of this operation.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1::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 documents are being exported to.
$msg->namespace_ids()/$msg->namespace_ids($value)Type:
StringWhich namespace IDs are being exported.
$msg->snapshot_time()/$msg->snapshot_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The timestamp that corresponds to the version of the database that is being exported. If unspecified, there are no guarantees about the consistency of the documents being exported.
Google::Firestore::Admin::V1::Operation::ImportDocumentsMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.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::V1::OperationState)The state of the import operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)The progress, in documents, of this operation.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1::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.
$msg->namespace_ids()/$msg->namespace_ids($value)Type:
StringWhich namespace IDs are being imported.
Google::Firestore::Admin::V1::Operation::BulkDeleteDocumentsMetadata
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.BulkDeleteDocuments][google.firestore.admin.v1.FirestoreAdmin.BulkDeleteDocuments].
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::V1::OperationState)The state of the operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)The progress, in documents, of this operation.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)The progress, in bytes, of this operation.
$msg->collection_ids()/$msg->collection_ids($value)Type:
StringThe IDs of the collection groups that are being deleted.
$msg->namespace_ids()/$msg->namespace_ids($value)Type:
StringWhich namespace IDs are being deleted.
$msg->snapshot_time()/$msg->snapshot_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The timestamp that corresponds to the version of the database that is being read to get the list of documents to delete. This time can also be used as the timestamp of PITR in case of disaster recovery (subject to PITR window limit).
Google::Firestore::Admin::V1::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::V1::Operation::RestoreDatabaseMetadata
Metadata for the [long-running operation][google.longrunning.Operation] from the [RestoreDatabase][google.firestore.admin.v1.RestoreDatabase] request.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the restore was started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the restore finished, unset for ongoing restores.
$msg->operation_state()/$msg->operation_state($value)Type:
Enum(Google::Firestore::Admin::V1::OperationState)The operation state of the restore.
$msg->database()/$msg->database($value)Type:
StringThe name of the database being restored to.
$msg->backup()/$msg->backup($value)Type:
StringThe name of the backup restoring from.
$msg->progress_percentage()/$msg->progress_percentage($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)How far along the restore is as an estimated percentage of remaining time.
Google::Firestore::Admin::V1::Operation::CloneDatabaseMetadata
Metadata for the [long-running operation][google.longrunning.Operation] from the [CloneDatabase][google.firestore.admin.v1.CloneDatabase] request.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the clone was started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the clone finished, unset for ongoing clones.
$msg->operation_state()/$msg->operation_state($value)Type:
Enum(Google::Firestore::Admin::V1::OperationState)The operation state of the clone.
$msg->database()/$msg->database($value)Type:
StringThe name of the database being cloned to.
$msg->pitr_snapshot()/$msg->pitr_snapshot($value)Type:
Message(Google::Firestore::Admin::V1::Snapshot::PitrSnapshot)The snapshot from which this database was cloned.
$msg->progress_percentage()/$msg->progress_percentage($value)Type:
Message(Google::Firestore::Admin::V1::Operation::Progress)How far along the clone is as an estimated percentage of remaining time.
Google::Firestore::Admin::V1::Operation::Progress
Describes the progress of the operation. Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.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::V1::Operation::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.