Class DocumentMask (2.4.0)

public sealed class DocumentMask : IMessage<DocumentMask>, IEquatable<DocumentMask>, IDeepCloneable<DocumentMask>, IBufferMessage, IMessage

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.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value].

Inheritance

Object > DocumentMask

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

DocumentMask()

public DocumentMask()

DocumentMask(DocumentMask)

public DocumentMask(DocumentMask other)
Parameter
NameDescription
otherDocumentMask

Properties

FieldPaths

public RepeatedField<string> FieldPaths { get; }

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

Property Value
TypeDescription
RepeatedField<String>