Output only. 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.
↳ most_common_http_error_code
int
Output only. 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.
getCode
Output only. Indicates the error reason code.
Returns
Type
Description
int
setCode
Output only. Indicates the error reason code.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getScanConfigError
Output only. 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.
Output only. 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.
Output only. 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
Type
Description
int
setMostCommonHttpErrorCode
Output only. 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Web Security Scanner V1 Client - Class ScanRunErrorTrace (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRunErrorTrace)\n- [1.0.4](/php/docs/reference/cloud-web-security-scanner/1.0.4/V1.ScanRunErrorTrace)\n- [0.8.5](/php/docs/reference/cloud-web-security-scanner/0.8.5/V1.ScanRunErrorTrace)\n- [0.7.18](/php/docs/reference/cloud-web-security-scanner/0.7.18/V1.ScanRunErrorTrace) \nReference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class ScanRunErrorTrace.\n\nOutput only.\n\nDefines an error trace message for a ScanRun.\n\nGenerated from protobuf message `google.cloud.websecurityscanner.v1.ScanRunErrorTrace`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ WebSecurityScanner \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCode\n\nOutput only. Indicates the error reason code.\n\n### setCode\n\nOutput only. Indicates the error reason code.\n\n### getScanConfigError\n\nOutput only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error\nmessage encountered during scan configuration validation that is performed\nbefore each scan run.\n\n### hasScanConfigError\n\n### clearScanConfigError\n\n### setScanConfigError\n\nOutput only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error\nmessage encountered during scan configuration validation that is performed\nbefore each scan run.\n\n### getMostCommonHttpErrorCode\n\nOutput only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most\ncommon HTTP error code, if such is available. For example, if this code is\n404, the scan has encountered too many NOT_FOUND responses.\n\n### setMostCommonHttpErrorCode\n\nOutput only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most\ncommon HTTP error code, if such is available. For example, if this code is\n404, the scan has encountered too many NOT_FOUND responses."]]