Reference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::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::V1beta::ScanConfigError::Code
Returns
- (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code) — Indicates the reason code for a configuration failure.
#code=
def code=(value) -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code
Parameter
- value (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code) — Indicates the reason code for a configuration failure.
Returns
- (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfigError::Code) — Indicates the reason code for a configuration failure.
#field_name
def field_name() -> ::String
Returns
- (::String) — 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) — 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) — 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.