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 ScanConfigError : IMessage<ScanConfigError>, IEquatable<ScanConfigError>, IDeepCloneable<ScanConfigError>, IBufferMessage, IMessage

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

Defines a custom error message used by CreateScanConfig and UpdateScanConfig
APIs when scan configuration validation fails. It is also reported as part of
a ScanRunErrorTrace message if scan validation fails due to a scan
configuration error.

## Inheritance

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

## Implements

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

### ScanConfigError()

    public ScanConfigError()

### ScanConfigError(ScanConfigError)

    public ScanConfigError(ScanConfigError other)

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

## Properties

### Code

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

Output only. Indicates the reason code for a configuration failure.

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

### FieldName

    public string FieldName { get; set; }

Output only. Indicates the full name of the ScanConfig field that triggers this error,
for example "scan_config.max_qps". This field is provided for
troubleshooting purposes only and its actual value can change in the
future.

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