class Google::Apis::WebsecurityscannerV1::ScanRunErrorTrace

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

Attributes

code[RW]

Output only. Indicates the error reason code. Corresponds to the JSON property `code` @return [String]

most_common_http_error_code[RW]

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. Corresponds to the JSON property `mostCommonHttpErrorCode` @return [Fixnum]

scan_config_error[RW]

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. Corresponds to the JSON property `scanConfigError` @return [Google::Apis::WebsecurityscannerV1::ScanConfigError]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/websecurityscanner_v1/classes.rb, line 809
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/websecurityscanner_v1/classes.rb, line 814
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @most_common_http_error_code = args[:most_common_http_error_code] if args.key?(:most_common_http_error_code)
  @scan_config_error = args[:scan_config_error] if args.key?(:scan_config_error)
end