public sealed class BatchWriteResponse : IMessage<BatchWriteResponse>, IEquatable<BatchWriteResponse>, IDeepCloneable<BatchWriteResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class BatchWriteResponse.
[[["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\u003eBatchWriteResponse\u003c/code\u003e class in the Google Cloud Spanner v1 API is 5.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchWriteResponse\u003c/code\u003e is a class representing the result of applying a batch of mutations in Google Cloud Spanner, as per the reference documentation.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, making it versatile for various interactions and operations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eBatchWriteResponse\u003c/code\u003e class include \u003ccode\u003eCommitTimestamp\u003c/code\u003e, \u003ccode\u003eIndexes\u003c/code\u003e, and \u003ccode\u003eStatus\u003c/code\u003e, providing information on the transaction's commit time, mutation group indexes, and overall operation success.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchWriteResponse\u003c/code\u003e has different versions going as far back as version 3.5.0 and its namespace is \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner v1 API - Class BatchWriteResponse (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/5.0.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.6.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.5.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.4.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.3.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.2.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.1.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.0.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.15.1/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.14.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.13.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.12.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.11.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.10.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.9.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.8.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.7.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.6.0/Google.Cloud.Spanner.V1.BatchWriteResponse)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.5.0/Google.Cloud.Spanner.V1.BatchWriteResponse) \n\n public sealed class BatchWriteResponse : IMessage\u003cBatchWriteResponse\u003e, IEquatable\u003cBatchWriteResponse\u003e, IDeepCloneable\u003cBatchWriteResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner v1 API class BatchWriteResponse.\n\nThe result of applying a batch of mutations. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchWriteResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchWriteResponse](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.BatchWriteResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchWriteResponse](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.BatchWriteResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchWriteResponse](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.BatchWriteResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \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.Spanner.V1](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Spanner.V1.dll\n\nConstructors\n------------\n\n### BatchWriteResponse()\n\n public BatchWriteResponse()\n\n### BatchWriteResponse(BatchWriteResponse)\n\n public BatchWriteResponse(BatchWriteResponse other)\n\nProperties\n----------\n\n### CommitTimestamp\n\n public Timestamp CommitTimestamp { get; set; }\n\nThe commit timestamp of the transaction that applied this batch.\nPresent if `status` is `OK`, absent otherwise.\n\n### Indexes\n\n public RepeatedField\u003cint\u003e Indexes { get; }\n\nThe mutation groups applied in this batch. The values index into the\n`mutation_groups` field in the corresponding `BatchWriteRequest`.\n\n### Status\n\n public Status Status { get; set; }\n\nAn `OK` status indicates success. Any other status indicates a failure."]]