2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Web Security Scanner v1 API class ScanRunErrorTrace.

Output only.
Defines an error trace message for a ScanRun.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ScanRunErrorTrace](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/latest/Google.Cloud.WebSecurityScanner.V1.ScanRunErrorTrace.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ScanRunErrorTrace](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/latest/Google.Cloud.WebSecurityScanner.V1.ScanRunErrorTrace.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ScanRunErrorTrace](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/latest/Google.Cloud.WebSecurityScanner.V1.ScanRunErrorTrace.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.WebSecurityScanner.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/latest/Google.Cloud.WebSecurityScanner.V1.md.txt)

## Assembly

Google.Cloud.WebSecurityScanner.V1.dll

## Constructors

### ScanRunErrorTrace()

    public ScanRunErrorTrace()

### ScanRunErrorTrace(ScanRunErrorTrace)

    public ScanRunErrorTrace(ScanRunErrorTrace other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ScanRunErrorTrace` |

## Properties

### Code

    public ScanRunErrorTrace.Types.Code Code { get; set; }

Output only. Indicates the error reason code.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ScanRunErrorTraceTypesCode` |   |

### MostCommonHttpErrorCode

    public int MostCommonHttpErrorCode { get; set; }

Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most
common HTTP error code, if such is available. For example, if this code is
404, the scan has encountered too many NOT_FOUND responses.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### ScanConfigError

    public ScanConfigError ScanConfigError { get; set; }

Output only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error
message encountered during scan configuration validation that is performed
before each scan run.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ScanConfigError` |   |