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

Reference documentation and code samples for the Design Center v1 API class ImportIaCError.

Message representing the error encountered during import.
Example: A variable with name "name" is expected to be of type string, but is
provided as number, inside a module named "my_module".
{
resource_address: "module.my_module.name"
file: "gs://my_bucket/main.tf"
range: {
start: {
line: 2
byte_offset: 1
column: 2
}
end: {
line: 2
byte_offset: 10
column: 10
}
}
description: "Error parsing field: "name". Expected type "string" but got
"number"."
type: INVALID
}

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.DesignCenter.V1.dll

## Constructors

### ImportIaCError()

    public ImportIaCError()

### ImportIaCError(ImportIaCError)

    public ImportIaCError(ImportIaCError other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ImportIaCError` |

## Properties

### Description

    public string Description { get; set; }

Output only. The description of the error.

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

### ErrorCode

    public ImportIaCError.Types.ErrorCode ErrorCode { get; set; }

Output only. Specific error code for the import error.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ImportIaCErrorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ImportIaCError.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ImportIaCError.Types.ErrorCode` |   |

### File

    public string File { get; set; }

Output only. The file where the error has occurred.

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

### Range

    public CodeRange Range { get; set; }

Output only. The code portion where this error occurs.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.CodeRange` |   |

### ResourceAddress

    public string ResourceAddress { get; set; }

Output only. The resource address of the error.

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

### Type

    public ImportIaCError.Types.Type Type { get; set; }

Output only. The type of error.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ImportIaCErrorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ImportIaCError.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ImportIaCError.Types.Type` |   |