Service Client: Google::Firestore::Admin::V1beta1::FirestoreAdmin::FirestoreAdminClient
Client stub representing the remote FirestoreAdmin gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to firestore.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Firestore::Admin::V1beta1::FirestoreAdmin - Compiled Protocol Buffers messages for google/firestore/admin/v1beta1/firestore_admin.proto
SYNOPSIS
use Google::Firestore::Admin::V1beta1::FirestoreAdmin;
my $msg = Google::Firestore::Admin::V1beta1::FirestoreAdmin::IndexOperationMetadata->new({
start_time => $start_time,
end_time => $end_time,
index => $index,
operation_type => $operation_type,
});
# Read or update a field
my $val = $msg->start_time();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Firestore::Admin::V1beta1::FirestoreAdmin::IndexOperationMetadata->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/firestore/admin/v1beta1/firestore_admin.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::V1beta1::FirestoreAdmin::IndexOperationMetadata
Metadata for index operations. This metadata populates the metadata field of [google.longrunning.Operation][google.longrunning.Operation].
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time that work began on the operation.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the operation ended, either successfully or otherwise. Unset if the operation is still active.
$msg->index()/$msg->index($value)Type:
StringThe index resource that this operation is acting on. For example: `projects/{project_id}/databases/{database_id}/indexes/{index_id}`
$msg->operation_type()/$msg->operation_type($value)Type:
Enum(Google::Firestore::Admin::V1beta1::IndexOperationMetadata::OperationType)The type of index operation.
$msg->cancelled()/$msg->cancelled($value)Type:
BoolTrue if the [google.longrunning.Operation] was cancelled. If the cancellation is in progress, cancelled will be true but [google.longrunning.Operation.done][google.longrunning.Operation.done] will be false.
$msg->document_progress()/$msg->document_progress($value)Type:
Message(Google::Firestore::Admin::V1beta1::FirestoreAdmin::Progress)Progress of the existing operation, measured in number of documents.
Enum: IndexOperationMetadata::OperationType
OPERATION_TYPE_UNSPECIFIED=>0CREATING_INDEX=>1
Google::Firestore::Admin::V1beta1::FirestoreAdmin::Progress
Measures the progress of a particular metric.
Inherits from Protobuf::Message.
Accessors
$msg->work_completed()/$msg->work_completed($value)Type:
Int64An estimate of how much work has been completed. Note that this may be greater than `work_estimated`.
$msg->work_estimated()/$msg->work_estimated($value)Type:
Int64An estimate of how much work needs to be performed. Zero if the work estimate is unavailable. May change as work progresses.
Google::Firestore::Admin::V1beta1::FirestoreAdmin::CreateIndexRequest
The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringThe name of the database this index will apply to. For example: `projects/{project_id}/databases/{database_id}`
$msg->index()/$msg->index($value)Type:
Message(Google::Firestore::Admin::V1beta1::Index::Index)The index to create. The name and state fields are output only and will be ignored. Certain single field indexes cannot be created or deleted.
Google::Firestore::Admin::V1beta1::FirestoreAdmin::GetIndexRequest
The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1beta1.FirestoreAdmin.GetIndex].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the index. For example: `projects/{project_id}/databases/{database_id}/indexes/{index_id}`
Google::Firestore::Admin::V1beta1::FirestoreAdmin::ListIndexesRequest
The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringThe database name. For example: `projects/{project_id}/databases/{database_id}`
$msg->filter()/$msg->filter($value)Type:
String$msg->page_size()/$msg->page_size($value)Type:
Int32The standard List page size.
$msg->page_token()/$msg->page_token($value)Type:
StringThe standard List page token.
Google::Firestore::Admin::V1beta1::FirestoreAdmin::DeleteIndexRequest
The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe index name. For example: `projects/{project_id}/databases/{database_id}/indexes/{index_id}`
Google::Firestore::Admin::V1beta1::FirestoreAdmin::ListIndexesResponse
The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes].
Inherits from Protobuf::Message.
Accessors
$msg->indexes()/$msg->indexes($value)Type:
Message(Google::Firestore::Admin::V1beta1::Index::Index)The indexes.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe standard List next-page token.
Google::Firestore::Admin::V1beta1::FirestoreAdmin::ExportDocumentsRequest
The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ExportDocuments].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringDatabase to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.
$msg->collection_ids()/$msg->collection_ids($value)Type:
StringWhich collection ids to export. Unspecified means all collections.
$msg->output_uri_prefix()/$msg->output_uri_prefix($value)Type:
StringThe output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.
Google::Firestore::Admin::V1beta1::FirestoreAdmin::ImportDocumentsRequest
The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ImportDocuments].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringDatabase to import into. Should be of the form: `projects/{project_id}/databases/{database_id}`.
$msg->collection_ids()/$msg->collection_ids($value)Type:
StringWhich collection ids to import. Unspecified means all collections included in the import.
$msg->input_uri_prefix()/$msg->input_uri_prefix($value)Type:
StringLocation of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: [google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix].
Google::Firestore::Admin::V1beta1::FirestoreAdmin::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::V1beta1::FirestoreAdmin::ExportDocumentsMetadata
Metadata for ExportDocuments operations.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time that work began on the operation.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the operation ended, either successfully or otherwise. Unset if the operation is still active.
$msg->operation_state()/$msg->operation_state($value)Type:
Enum(Google::Firestore::Admin::V1beta1::OperationState)The state of the export operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1beta1::FirestoreAdmin::Progress)An estimate of the number of documents processed.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1beta1::FirestoreAdmin::Progress)An estimate of the number of bytes processed.
$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::V1beta1::FirestoreAdmin::ImportDocumentsMetadata
Metadata for ImportDocuments operations.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time that work began on the operation.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the operation ended, either successfully or otherwise. Unset if the operation is still active.
$msg->operation_state()/$msg->operation_state($value)Type:
Enum(Google::Firestore::Admin::V1beta1::OperationState)The state of the import operation.
$msg->progress_documents()/$msg->progress_documents($value)Type:
Message(Google::Firestore::Admin::V1beta1::FirestoreAdmin::Progress)An estimate of the number of documents processed.
$msg->progress_bytes()/$msg->progress_bytes($value)Type:
Message(Google::Firestore::Admin::V1beta1::FirestoreAdmin::Progress)An estimate of the number of bytes processed.
$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.
SEE ALSO
Protobuf, Protobuf::Message, Google::Firestore::Admin::V1beta1::FirestoreAdmin::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.