public sealed class UpdateDocumentRequest : IMessage<UpdateDocumentRequest>, IEquatable<UpdateDocumentRequest>, IDeepCloneable<UpdateDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class UpdateDocumentRequest.
The request for
[Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
The fields to update.
None of the field paths in the mask may contain a reserved name.
If the document exists on the server and has fields not referenced in the
mask, they are left unchanged.
Fields referenced in the mask, but not present in the input document, are
deleted from the document on the server.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class within the Google Cloud Firestore v1 API for .NET, specifically version 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e is a class used to request an update to a document in Firestore, which also implements various interfaces for message handling and cloning such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eCurrentDocument\u003c/code\u003e, \u003ccode\u003eDocument\u003c/code\u003e, \u003ccode\u003eMask\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which allow setting preconditions, defining the document to be updated, and specifying which fields to update or return.\u003c/p\u003e\n"],["\u003cp\u003eThe page also includes links to the various versions of the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e API class, spanning from versions 2.3.0 up to the latest version, 3.10.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class can be constructed with no parameters or with another instance of the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class, allowing the object to be created empty, or as a copy of another request.\u003c/p\u003e\n"]]],[],null,[]]