The number of rows with reported errors in Errors.
Note that it's possible that some errors are not associated to
any particular row so this number might be smaller than the number
of elements in Errors.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eBigQueryInsertResults\u003c/code\u003e class within the Google BigQuery v2 API for .NET, detailing how to handle results after attempting to insert data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigQueryInsertResults\u003c/code\u003e class provides information on the success or failure of an insert operation, including details on any rows that had insertion errors.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eErrors\u003c/code\u003e, \u003ccode\u003eInsertAttemptRowCount\u003c/code\u003e, \u003ccode\u003eOriginalRowsWithErrors\u003c/code\u003e, and \u003ccode\u003eStatus\u003c/code\u003e, which provide data about the results of the insert attempt.\u003c/p\u003e\n"],["\u003cp\u003eSeveral versions of the \u003ccode\u003eBigQueryInsertResults\u003c/code\u003e class are available, ranging from version 2.2.0 to the latest 3.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigQueryInsertResults\u003c/code\u003e class features methods, such as \u003ccode\u003eThrowOnAnyError()\u003c/code\u003e, \u003ccode\u003eThrowOnNoneInserted()\u003c/code\u003e, and \u003ccode\u003eThrowOnNotAllInserted()\u003c/code\u003e, that can throw exceptions under various error scenarios related to the insertion attempts.\u003c/p\u003e\n"]]],[],null,["# Google BigQuery v2 API - Class BigQueryInsertResults (3.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.10.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.9.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.8.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.7.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.6.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.5.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.4.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.3.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.2.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.1.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/3.0.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/2.4.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/2.3.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/2.2.0/Google.Cloud.BigQuery.V2.BigQueryInsertResults) \n\n public sealed class BigQueryInsertResults\n\nReference documentation and code samples for the Google BigQuery v2 API class BigQueryInsertResults.\n\nThe results obtained after an insertion attempt.\nThis will contain information on invalid rows if any. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BigQueryInsertResults \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.BigQuery.V2](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest/Google.Cloud.BigQuery.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.BigQuery.V2.dll\n\nConstructors\n------------\n\n### BigQueryInsertResults(BigQueryClient, InsertOptions, IReadOnlyList\\\u003cBigQueryInsertRow\\\u003e, TableDataInsertAllResponse)\n\n public BigQueryInsertResults(BigQueryClient client, InsertOptions options, IReadOnlyList\u003cBigQueryInsertRow\u003e originalRows, TableDataInsertAllResponse insertResponse)\n\nConstructs a new set of insert results.\n\nProperties\n----------\n\n### Errors\n\n public IEnumerable\u003cBigQueryInsertRowErrors\u003e Errors { get; }\n\nReturns a sequence over rows with insert errors.\nEach element represents a row with possibly multiple errors associated to it.\n\n### InsertAttemptRowCount\n\n public int InsertAttemptRowCount { get; }\n\nThe amount of rows that were attempted in the insert operation.\n\n### OriginalRowsWithErrors\n\n public int OriginalRowsWithErrors { get; }\n\nThe number of rows with reported errors in [Errors](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest/Google.Cloud.BigQuery.V2.BigQueryInsertResults#Google_Cloud_BigQuery_V2_BigQueryInsertResults_Errors).\nNote that it's possible that some errors are not associated to\nany particular row so this number might be smaller than the number\nof elements in [Errors](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest/Google.Cloud.BigQuery.V2.BigQueryInsertResults#Google_Cloud_BigQuery_V2_BigQueryInsertResults_Errors).\n\n### Status\n\n public BigQueryInsertStatus Status { get; }\n\nStatus of the insert request.\nSee [BigQueryInsertStatus](/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest/Google.Cloud.BigQuery.V2.BigQueryInsertStatus) for a detailed explanation.\n\nMethods\n-------\n\n### ThrowOnAnyError()\n\n public BigQueryInsertResults ThrowOnAnyError()\n\nThrows [GoogleApiException](https://cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.GoogleApiException.html) if there were insert errors.\nThe exception will contain details of these errors.\n\n### ThrowOnNoneInserted()\n\n public BigQueryInsertResults ThrowOnNoneInserted()\n\nThrows [GoogleApiException](https://cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.GoogleApiException.html) if no row was inserted.\n\n### ThrowOnNotAllInserted()\n\n public BigQueryInsertResults ThrowOnNotAllInserted()\n\nThrows [GoogleApiException](https://cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.GoogleApiException.html) if not all rows were inserted."]]