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

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

The error associated with the deployment.

## Inheritance

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

## Implements

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

### DeploymentError()

    public DeploymentError()

### DeploymentError(DeploymentError)

    public DeploymentError(DeploymentError other)

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

## Properties

### Code

    public Deployment.Types.ErrorCode Code { get; set; }

Output only. The deployment error code. Based on Infrastructure Manager
error codes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment.Types.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment.Types.ErrorCode.html` |   |

### DeploymentFailureResolutionInfo

    public RepeatedField<DeploymentFailureResolutionInfo> DeploymentFailureResolutionInfo { get; }

Output only. The call to actions associated with the deployment issue.

| **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.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DeploymentFailureResolutionInfo` |   |

### Detail

    public string Detail { get; set; }

Output only. Human readable string that summarizes the deployment error
issue.

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

### ErrorMessage

    public string ErrorMessage { get; set; }

Output only. Stores errors generated by Infra Manager, as well as all
non-internal errors (such as INVALID_ARGUMENT) that occur before
initiating the deployment.

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

### TfErrors

    public RepeatedField<TerraformError> TfErrors { get; }

Output only. The error message associated with the deployment.

| **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.Config.V1/latest/Google.Cloud.Config.V1.TerraformError.html` |   |

### Type

    public DeploymentError.Types.ErrorType Type { get; set; }

Output only. The error type based on the deployment error code.

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