public sealed class ImportErrorConfig : IMessage<ImportErrorConfig>, IEquatable<ImportErrorConfig>, IDeepCloneable<ImportErrorConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class ImportErrorConfig.
Configuration of destination for Import related errors.
Cloud Storage prefix for import errors. This must be an empty,
existing Cloud Storage directory. Import errors are written to
sharded files in this directory, one per line, as a JSON-encoded
google.rpc.Status message.
[[["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\u003eImportErrorConfig\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImportErrorConfig\u003c/code\u003e class is used to configure where import-related errors are stored, and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces like \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\u003eThe latest version of \u003ccode\u003eImportErrorConfig\u003c/code\u003e is version 1.6.0, with previous versions available from 1.0.0-beta06 up to 1.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eImportErrorConfig()\u003c/code\u003e and \u003ccode\u003eImportErrorConfig(ImportErrorConfig other)\u003c/code\u003e, and it includes properties like \u003ccode\u003eDestinationCase\u003c/code\u003e, \u003ccode\u003eGcsPrefix\u003c/code\u003e, and \u003ccode\u003eHasGcsPrefix\u003c/code\u003e to manage error destinations and configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsPrefix\u003c/code\u003e property, of type string, sets the Cloud Storage directory where error details will be saved as JSON-encoded \u003ccode\u003egoogle.rpc.Status\u003c/code\u003e messages, and \u003ccode\u003eHasGcsPrefix\u003c/code\u003e is used to check if it is set.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class ImportErrorConfig (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig) \n\n public sealed class ImportErrorConfig : IMessage\u003cImportErrorConfig\u003e, IEquatable\u003cImportErrorConfig\u003e, IDeepCloneable\u003cImportErrorConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class ImportErrorConfig.\n\nConfiguration of destination for Import related errors. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ImportErrorConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ImportErrorConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ImportErrorConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ImportErrorConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.ImportErrorConfig), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### ImportErrorConfig()\n\n public ImportErrorConfig()\n\n### ImportErrorConfig(ImportErrorConfig)\n\n public ImportErrorConfig(ImportErrorConfig other)\n\nProperties\n----------\n\n### DestinationCase\n\n public ImportErrorConfig.DestinationOneofCase DestinationCase { get; }\n\n### GcsPrefix\n\n public string GcsPrefix { get; set; }\n\nCloud Storage prefix for import errors. This must be an empty,\nexisting Cloud Storage directory. Import errors are written to\nsharded files in this directory, one per line, as a JSON-encoded\n`google.rpc.Status` message.\n\n### HasGcsPrefix\n\n public bool HasGcsPrefix { get; }\n\nGets whether the \"gcs_prefix\" field is set"]]