NAME

Google::Firestore::V1beta1::Common - Compiled Protocol Buffers messages for google/firestore/v1beta1/common.proto

SYNOPSIS

use Google::Firestore::V1beta1::Common;

my $msg = Google::Firestore::V1beta1::Common::DocumentMask->new({
    field_paths => $field_paths,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Firestore::V1beta1::Common::DocumentMask->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/firestore/v1beta1/common.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::V1beta1::Common::DocumentMask

A set of field paths on a document. Used to restrict a get or update operation on a document to a subset of its fields. This is different from standard field masks, as this is always scoped to a [Document][google.firestore.v1beta1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1beta1.Value].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field path syntax reference.

Google::Firestore::V1beta1::Common::Precondition

A precondition on a document, used for conditional operations.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    When set to `true`, the target document must exist. When set to `false`, the target document must not exist.

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

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

    When set, the target document must exist and have been last updated at that time.

Google::Firestore::V1beta1::Common::TransactionOptions

Options for creating a new transaction.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Firestore::V1beta1::Common::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.