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 webpage provides documentation for the \u003ccode\u003eBatchWriteRequest\u003c/code\u003e class within the Google Cloud Firestore V1 API, with the current version being 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchWriteRequest\u003c/code\u003e class is used to define a request for a batch write operation in Firestore, and this request does not apply writes atomically or guarantees any specific ordering.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchWriteRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, \u003ccode\u003eLabels\u003c/code\u003e, and \u003ccode\u003eWrites\u003c/code\u003e, which specify the target database, associated labels, and the individual write operations to be performed, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides links to documentation of other versions, including the latest version 3.10.0, as well as older versions going back to version 2.3.0.\u003c/p\u003e\n"]]],[],null,[]]