GoogleApi.WebSecurityScanner.V1.Model.ScanConfigError (google_api_web_security_scanner v0.19.0)

View Source

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 (type: String.t, default: nil) - Output only. Indicates the reason code for a configuration failure.
  • fieldName (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WebSecurityScanner.V1.Model.ScanConfigError{
  code: String.t() | nil,
  fieldName: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.