Web Security Scanner v1 API - Class ScanConfigError (2.2.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 > ScanConfigError

Namespace

Google.Cloud.WebSecurityScanner.V1

Assembly

Google.Cloud.WebSecurityScanner.V1.dll

Constructors

ScanConfigError()

public ScanConfigError()

ScanConfigError(ScanConfigError)

public ScanConfigError(ScanConfigError other)
Parameter
NameDescription
otherScanConfigError

Properties

Code

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

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

Property Value
TypeDescription
ScanConfigError.Types.Code

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
TypeDescription
String