[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eFieldMask\u003c/code\u003e class in the Firestore API is 3.10.0, with various previous versions also documented, ranging back to version 2.3.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFieldMask\u003c/code\u003e is an immutable class used to define a set of field paths, which can be used to control data retrieval in methods like \u003ccode\u003eGetAllSnapshotsAsync\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFieldMask\u003c/code\u003e class can be instantiated with either an array of \u003ccode\u003eFieldPath\u003c/code\u003e objects or an array of dot-separated string paths, enabling flexible creation of the field mask.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFieldMask\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements the \u003ccode\u003eIEquatable\u003c/code\u003e interface, and overrides the \u003ccode\u003eGetHashCode\u003c/code\u003e method for operations related to equality and object comparison.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFieldMask\u003c/code\u003e is found within the \u003ccode\u003eGoogle.Cloud.Firestore\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.Firestore.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Firestore API - Class FieldMask (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FieldMask)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.9.0/Google.Cloud.Firestore.FieldMask)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.8.0/Google.Cloud.Firestore.FieldMask)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.7.0/Google.Cloud.Firestore.FieldMask)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.6.0/Google.Cloud.Firestore.FieldMask)\n- [3.5.1](/dotnet/docs/reference/Google.Cloud.Firestore/3.5.1/Google.Cloud.Firestore.FieldMask)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.4.0/Google.Cloud.Firestore.FieldMask)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.3.0/Google.Cloud.Firestore.FieldMask)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.2.0/Google.Cloud.Firestore.FieldMask)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.1.0/Google.Cloud.Firestore.FieldMask)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Firestore/3.0.0/Google.Cloud.Firestore.FieldMask)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Firestore/2.5.0/Google.Cloud.Firestore.FieldMask)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Firestore/2.4.0/Google.Cloud.Firestore.FieldMask)\n- [2.3.1](/dotnet/docs/reference/Google.Cloud.Firestore/2.3.1/Google.Cloud.Firestore.FieldMask) \n\n public sealed class FieldMask : IEquatable\u003cFieldMask\u003e\n\nReference documentation and code samples for the Firestore API class FieldMask.\n\nAn immutable set of field paths, used to limit the data returned by calls to\n[GetAllSnapshotsAsync(IEnumerable\\\u003cDocumentReference\\\u003e, CancellationToken)](/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDb#Google_Cloud_Firestore_FirestoreDb_GetAllSnapshotsAsync_System_Collections_Generic_IEnumerable_Google_Cloud_Firestore_DocumentReference__System_Threading_CancellationToken_)\nand similar calls. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FieldMask \n\nImplements\n----------\n\n[IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FieldMask](/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FieldMask) \n\nInherited Members\n-----------------\n\n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Firestore](/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore)\n\nAssembly\n--------\n\nGoogle.Cloud.Firestore.dll\n\nConstructors\n------------\n\n### FieldMask(params FieldPath\\[\\])\n\n public FieldMask(params FieldPath[] paths)\n\nCreates a mask from the given paths.\n\n### FieldMask(params string\\[\\])\n\n public FieldMask(params string[] paths)\n\nCreates a mask from the given paths. Each path is treated as a dot-separated sequence of field names.\n\nMethods\n-------\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)"]]