View Source GoogleApi.SecurityCenter.V1.Model.SimulatedResult (google_api_security_center v0.29.0)

Possible test result.

Attributes

  • error (type: GoogleApi.SecurityCenter.V1.Model.Status.t, default: nil) - Error encountered during the test.
  • finding (type: GoogleApi.SecurityCenter.V1.Model.Finding.t, default: nil) - Finding that would be published for the test case, if a violation is detected.
  • noViolation (type: GoogleApi.SecurityCenter.V1.Model.Empty.t, default: nil) - Indicates that the test case does not trigger any violation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecurityCenter.V1.Model.SimulatedResult{
  error: GoogleApi.SecurityCenter.V1.Model.Status.t() | nil,
  finding: GoogleApi.SecurityCenter.V1.Model.Finding.t() | nil,
  noViolation: GoogleApi.SecurityCenter.V1.Model.Empty.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.