# BigQuery Migration v2 API - Class ResourceErrorDetail (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the BigQuery Migration v2 API class ResourceErrorDetail.

Provides details for errors and the corresponding resources.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.BigQuery.Migration.V2.dll

## Constructors

### ResourceErrorDetail()

    public ResourceErrorDetail()

### ResourceErrorDetail(ResourceErrorDetail)

    public ResourceErrorDetail(ResourceErrorDetail other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.ResourceErrorDetail` |

## Properties

### ErrorCount

    public int ErrorCount { get; set; }

Required. How many errors there are in total for the resource. Truncation
can be indicated by having an `error_count` that is higher than the size of
`error_details`.

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

### ErrorDetails

    public RepeatedField<ErrorDetail> ErrorDetails { get; }

Required. The error details for the resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.ErrorDetail` |   |

### ResourceInfo

    public ResourceInfo ResourceInfo { get; set; }

Required. Information about the resource where the error is located.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.ResourceInfo.html` |   |