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::ScanRunErrorTrace.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #code

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

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanRunErrorTrace::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)) --- Indicates the error reason code.

### #code=

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

**Parameter**

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

- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanRunErrorTrace::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)) --- Indicates the error reason code.

### #most_common_http_error_code

    def most_common_http_error_code() -> ::Integer

**Returns**

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

### #most_common_http_error_code=

    def most_common_http_error_code=(value) -> ::Integer

**Parameter**

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

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

### #scan_config_error

    def scan_config_error() -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfigError)) --- 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.

### #scan_config_error=

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

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfigError)) --- 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.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfigError)) --- 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.