NAME
Google::Firestore::Admin::V1beta1::Index - Compiled Protocol Buffers messages for google/firestore/admin/v1beta1/index.proto
SYNOPSIS
use Google::Firestore::Admin::V1beta1::Index;
my $msg = Google::Firestore::Admin::V1beta1::Index::IndexField->new({
field_path => $field_path,
mode => $mode,
});
# Read or update a field
my $val = $msg->field_path();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Firestore::Admin::V1beta1::Index::IndexField->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/firestore/admin/v1beta1/index.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::Index::IndexField
A field of an index.
Inherits from Protobuf::Message.
Accessors
$msg->field_path()/$msg->field_path($value)Type:
StringThe path of the field. Must match the field path specification described by [google.firestore.v1beta1.Document.fields][fields]. Special field path `__name__` may be used by itself or at the end of a path. `__type__` may be used only at the end of path.
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Firestore::Admin::V1beta1::IndexField::Mode)The field's mode.
Enum: IndexField::Mode
MODE_UNSPECIFIED=>0ASCENDING=>2DESCENDING=>3ARRAY_CONTAINS=>4
Google::Firestore::Admin::V1beta1::Index::Index
An index definition.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe resource name of the index. Output only.
$msg->collection_id()/$msg->collection_id($value)Type:
StringThe collection ID to which this index applies. Required.
$msg->fields()/$msg->fields($value)Type:
Message(Google::Firestore::Admin::V1beta1::Index::IndexField)The fields to index.
$msg->state()/$msg->state($value)Type:
Enum(Google::Firestore::Admin::V1beta1::Index::State)The state of the index. Output only.
Enum: Index::State
STATE_UNSPECIFIED=>0CREATING=>3READY=>2ERROR=>5
SEE ALSO
Protobuf, Protobuf::Message, Google::Firestore::Admin::V1beta1::Index::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.