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

    The 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 => 0

  • ASCENDING => 2

  • DESCENDING => 3

  • ARRAY_CONTAINS => 4

Google::Firestore::Admin::V1beta1::Index::Index

An index definition.

Inherits from Protobuf::Message.

Accessors

Enum: Index::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 3

  • READY => 2

  • ERROR => 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.