# Discovery Engine v1beta API - Class ImportErrorConfig (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    public sealed class ImportErrorConfig : IMessage<ImportErrorConfig>, IEquatable<ImportErrorConfig>, IDeepCloneable<ImportErrorConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class ImportErrorConfig.

Configuration of destination for Import related errors.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ImportErrorConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ImportErrorConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportErrorConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ImportErrorConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportErrorConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ImportErrorConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### ImportErrorConfig()

    public ImportErrorConfig()

### ImportErrorConfig(ImportErrorConfig)

    public ImportErrorConfig(ImportErrorConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportErrorConfig` |

## Properties

### DestinationCase

    public ImportErrorConfig.DestinationOneofCase DestinationCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportErrorConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportErrorConfig.DestinationOneofCase` |   |

### GcsPrefix

    public string GcsPrefix { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### HasGcsPrefix

    public bool HasGcsPrefix { get; }

Gets whether the "gcs_prefix" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |