NAME

Google::Firestore::Admin::V1::Backup - Compiled Protocol Buffers messages for google/firestore/admin/v1/backup.proto

SYNOPSIS

use Google::Firestore::Admin::V1::Backup;

my $msg = Google::Firestore::Admin::V1::Backup::Backup->new({
    name => $name,
    database => $database,
    database_uid => $database_uid,
    snapshot_time => $snapshot_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/firestore/admin/v1/backup.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::Backup::Backup

A Backup of a Cloud Firestore Database.

The backup contains all documents and index configurations for the given database at a specific point in time.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The unique resource name of the Backup.

    Format is `projects/{project}/locations/{location}/backups/{backup}`.

    The location in the name will be the Standard Managed Multi-Region (SMMR) location (e.g. `us`) if the backup was created with an SMMR location, or the Google Managed Multi-Region (GMMR) location (e.g. `nam5`) if the backup was created with a GMMR location.

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

    Type: String

    Output only. Name of the Firestore database that the backup is from.

    Format is `projects/{project}/databases/{database}`.

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

    Type: String

    Output only. The system-generated UUID4 for the Firestore database that the backup is from.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The backup contains an externally consistent copy of the database at this time.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp at which this backup expires.

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

    Type: Message (Google::Firestore::Admin::V1::Backup::Backup::Stats)

    Output only. Statistics about the backup.

    This data only becomes available after the backup is fully materialized to secondary storage. This field will be empty till then.

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

    Type: Enum (Google::Firestore::Admin::V1::Backup::State)

    Output only. The current state of the backup.

Enum: Backup::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • NOT_AVAILABLE => 3

SEE ALSO

Protobuf, Protobuf::Message, Google::Firestore::Admin::V1::Backup::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.