Service Client: Google::Firestore::Admin::V1beta2::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::V1beta2::FirestoreAdmin - Compiled Protocol Buffers messages for google/firestore/admin/v1beta2/firestore_admin.proto

SYNOPSIS

use Google::Firestore::Admin::V1beta2::FirestoreAdmin;

my $msg = Google::Firestore::Admin::V1beta2::FirestoreAdmin::CreateIndexRequest->new({
    parent => $parent,
    index => $index,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Firestore::Admin::V1beta2::FirestoreAdmin::CreateIndexRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/firestore/admin/v1beta2/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::V1beta2::FirestoreAdmin::CreateIndexRequest

The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta2.FirestoreAdmin.CreateIndex].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`

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

    Type: Message (Google::Firestore::Admin::V1beta2::Index::Index)

    The composite index to create.

Google::Firestore::Admin::V1beta2::FirestoreAdmin::ListIndexesRequest

The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`

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

    Type: String

    The filter to apply to list results.

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

    Type: Int32

    The number of results to return.

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

    Type: String

    A page token, returned from a previous call to [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes], that may be used to get the next page of results.

Google::Firestore::Admin::V1beta2::FirestoreAdmin::ListIndexesResponse

The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Firestore::Admin::V1beta2::Index::Index)

    The requested indexes.

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

    Type: String

    A page token that may be used to request another page of results. If blank, this is the last page.

Google::Firestore::Admin::V1beta2::FirestoreAdmin::GetIndexRequest

The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1beta2.FirestoreAdmin.GetIndex].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`

Google::Firestore::Admin::V1beta2::FirestoreAdmin::DeleteIndexRequest

The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1beta2.FirestoreAdmin.DeleteIndex].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`

Google::Firestore::Admin::V1beta2::FirestoreAdmin::UpdateFieldRequest

The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField].

Inherits from Protobuf::Message.

Accessors

Google::Firestore::Admin::V1beta2::FirestoreAdmin::GetFieldRequest

The request for [FirestoreAdmin.GetField][google.firestore.admin.v1beta2.FirestoreAdmin.GetField].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`

Google::Firestore::Admin::V1beta2::FirestoreAdmin::ListFieldsRequest

The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`

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

    Type: String

    The filter to apply to list results. Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields that have been explicitly overridden. To issue this query, call [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to `indexConfig.usesAncestorConfig:false`.

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

    Type: Int32

    The number of results to return.

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

    Type: String

    A page token, returned from a previous call to [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields], that may be used to get the next page of results.

Google::Firestore::Admin::V1beta2::FirestoreAdmin::ListFieldsResponse

The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Firestore::Admin::V1beta2::Field::Field)

    The requested fields.

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

    Type: String

    A page token that may be used to request another page of results. If blank, this is the last page.

Google::Firestore::Admin::V1beta2::FirestoreAdmin::ExportDocumentsRequest

The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta2.FirestoreAdmin.ExportDocuments].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.

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

    Type: String

    Which collection ids to export. Unspecified means all collections.

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

    Type: String

    The 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::V1beta2::FirestoreAdmin::ImportDocumentsRequest

The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta2.FirestoreAdmin.ImportDocuments].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Database to import into. Should be of the form: `projects/{project_id}/databases/{database_id}`.

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

    Type: String

    Which collection ids to import. Unspecified means all collections included in the import.

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

    Type: String

    Location 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.v1beta2.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1beta2.ExportDocumentsResponse.output_uri_prefix].

SEE ALSO

Protobuf, Protobuf::Message, Google::Firestore::Admin::V1beta2::FirestoreAdmin::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.