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

1.0.0-beta23 (latest) 1.0.0-beta22

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

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

Configuration of destination for Purge related errors.

## Inheritance

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

## Implements

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

### PurgeErrorConfig()

    public PurgeErrorConfig()

### PurgeErrorConfig(PurgeErrorConfig)

    public PurgeErrorConfig(PurgeErrorConfig other)

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

## Properties

### DestinationCase

    public PurgeErrorConfig.DestinationOneofCase DestinationCase { get; }

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

### GcsPrefix

    public string GcsPrefix { get; set; }

Cloud Storage prefix for purge errors. This must be an empty,
existing Cloud Storage directory. Purge 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` |   |