When mode is TRANSACTIONAL, mutations affecting a single entity are
applied in order. The following sequences of mutations affecting a single
entity are not permitted in a single Commit request:
insert followed by insert
update followed by insert
upsert followed by insert
delete followed by update
When mode is NON_TRANSACTIONAL, no two mutations may affect a single
entity.
The identifier of the transaction associated with the commit. A
transaction identifier is returned by a call to
[Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
[[["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 \u003ccode\u003eCommitRequest\u003c/code\u003e class is used to send commit requests to the Datastore API, specifically \u003ccode\u003eDatastore.Commit\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its integration with Protobuf and .NET's core functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitRequest\u003c/code\u003e class offers several versions, with 4.15.0 being the latest, offering access to previous versions of the class all the way back to 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCommitRequest\u003c/code\u003e include \u003ccode\u003eMode\u003c/code\u003e to define commit type, \u003ccode\u003eMutations\u003c/code\u003e for the changes to be applied, \u003ccode\u003eProjectId\u003c/code\u003e to identify the target project, and \u003ccode\u003eTransaction\u003c/code\u003e to associate the commit with a transaction.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content shows the class's constructors are \u003ccode\u003eCommitRequest()\u003c/code\u003e and \u003ccode\u003eCommitRequest(CommitRequest other)\u003c/code\u003e to help manage and define the commit requests.\u003c/p\u003e\n"]]],[],null,[]]