Class FieldMask (2.5.0)

public sealed class FieldMask : IEquatable<FieldMask>

An immutable set of field paths, used to limit the data returned by calls to GetAllSnapshotsAsync(IEnumerable<DocumentReference>, CancellationToken) and similar calls.

Inheritance

Object > FieldMask

Implements

IEquatable<FieldMask>

Namespace

Google.Cloud.Firestore

Assembly

Google.Cloud.Firestore.dll

Constructors

FieldMask(FieldPath[])

public FieldMask(params FieldPath[] paths)

Creates a mask from the given paths.

Parameter
NameDescription
pathsFieldPath[]

The segments of the path. This must not be null, and it must not contain any null elements.

FieldMask(String[])

public FieldMask(params string[] paths)

Creates a mask from the given paths. Each path is treated as a dot-separated sequence of field names.

Parameter
NameDescription
pathsString[]

The paths, as dot-separated strings. This must not be null, and it must not contain any null or empty elements.

Methods

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32
Overrides