Reference documentation and code samples for the Web Security Scanner V1 API class Google::Cloud::WebSecurityScanner::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfigError::Code
Returns
- (::Google::Cloud::WebSecurityScanner::V1::ScanConfigError::Code) — Output only. Indicates the reason code for a configuration failure.
#code=
def code=(value) -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfigError::Code
Parameter
- value (::Google::Cloud::WebSecurityScanner::V1::ScanConfigError::Code) — Output only. Indicates the reason code for a configuration failure.
Returns
- (::Google::Cloud::WebSecurityScanner::V1::ScanConfigError::Code) — Output only. Indicates the reason code for a configuration failure.
#field_name
def field_name() -> ::String
Returns
- (::String) — Output only. 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.
#field_name=
def field_name=(value) -> ::String
Parameter
- value (::String) — Output only. 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.
Returns
- (::String) — Output only. 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.