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

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

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: String

    Which collection IDs are being exported.

  • $msg->output_uri_prefix() / $msg->output_uri_prefix($value)

    Type: String

    Where the documents are being exported to.

  • $msg->namespace_ids() / $msg->namespace_ids($value)

    Type: String

    Which 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: String

    Which collection IDs are being imported.

  • $msg->input_uri_prefix() / $msg->input_uri_prefix($value)

    Type: String

    The location of the documents being imported.

  • $msg->namespace_ids() / $msg->namespace_ids($value)

    Type: String

    Which 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: String

    The IDs of the collection groups that are being deleted.

  • $msg->namespace_ids() / $msg->namespace_ids($value)

    Type: String

    Which 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: String

    Location 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

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

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: Int64

    The amount of work estimated.

  • $msg->completed_work() / $msg->completed_work($value)

    Type: Int64

    The 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.