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) — Indicates the error reason code.
#code=
def code=(value) -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanRunErrorTrace::Code
Parameter
- value (::Google::Cloud::WebSecurityScanner::V1beta::ScanRunErrorTrace::Code) — Indicates the error reason code.
Returns
- (::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) — 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) — 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) — 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.