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:
StringThe 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:
BoolWhen 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
$msg->read_only()/$msg->read_only($value)Type:
Message(Google::Firestore::V1beta1::Common::TransactionOptions::ReadOnly)The transaction can only be used for read operations.
$msg->read_write()/$msg->read_write($value)Type:
Message(Google::Firestore::V1beta1::Common::TransactionOptions::ReadWrite)The transaction can be used for both read and write operations.
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.