0.16.0 (latest) 0.15.1 0.14.1 0.13.1 0.12.0 0.11.1 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #code

    def code() -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfigError-Code)) --- Indicates the reason code for a configuration failure.

### #code=

    def code=(value) -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfigError-Code)) --- Indicates the reason code for a configuration failure.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfigError-Code)) --- Indicates the reason code for a configuration failure.

### #field_name

    def field_name() -> ::String

**Returns**

- (::String) --- 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.

### #field_name=

    def field_name=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.