public sealed class BatchWriteRequest : IMessage<BatchWriteRequest>, IEquatable<BatchWriteRequest>, IDeepCloneable<BatchWriteRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class BatchWriteRequest.
The request for
[Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
Method does not apply writes atomically and does not guarantee ordering.
Each write succeeds or fails independently. You cannot write to the same
document more than once per request.
[[["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 document provides reference documentation for the \u003ccode\u003eBatchWriteRequest\u003c/code\u003e class within the Google Cloud Firestore v1 API for .NET, specifically version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchWriteRequest\u003c/code\u003e class is used to define requests for the \u003ccode\u003eFirestore.BatchWrite\u003c/code\u003e method, and it implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eBatchWriteRequest\u003c/code\u003e class include \u003ccode\u003eDatabase\u003c/code\u003e, which specifies the database name, \u003ccode\u003eLabels\u003c/code\u003e, for associating labels with the batch write, and \u003ccode\u003eWrites\u003c/code\u003e, which contains the list of writes to be applied.\u003c/p\u003e\n"],["\u003cp\u003eThe document also shows the different versions available, starting with 2.3.0 and ranging up to 3.10.0, which is the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe BatchWriteRequest class is built off the object class, and provides the functionality of GetHashCode(), GetType(), and ToString().\u003c/p\u003e\n"]]],[],null,[]]