class Google::Apis::WebsecurityscannerV1beta::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.

Attributes

code[RW]

Indicates the reason code for a configuration failure. Corresponds to the JSON property `code` @return [String]

field_name[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/websecurityscanner_v1beta/classes.rb, line 694
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_v1beta/classes.rb, line 699
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @field_name = args[:field_name] if args.key?(:field_name)
end