GoogleApi.WorkloadManager.V1.Model.ExecutionResult (google_api_workload_manager v0.12.0)

View Source

Message describing the result of an execution

Attributes

  • commands (type: list(GoogleApi.WorkloadManager.V1.Model.Command.t), default: nil) - The commands to remediate the violation.
  • documentationUrl (type: String.t, default: nil) - The URL for the documentation of the rule.
  • resource (type: GoogleApi.WorkloadManager.V1.Model.Resource.t, default: nil) - The resource that violates the rule.
  • rule (type: String.t, default: nil) - The rule that is violated in an evaluation.
  • severity (type: String.t, default: nil) - The severity of violation.
  • type (type: String.t, default: nil) - Execution result type of the scanned resource
  • violationDetails (type: GoogleApi.WorkloadManager.V1.Model.ViolationDetails.t, default: nil) - The details of violation in an evaluation result.
  • violationMessage (type: String.t, default: nil) - The violation message of an execution.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WorkloadManager.V1.Model.ExecutionResult{
  commands: [GoogleApi.WorkloadManager.V1.Model.Command.t()] | nil,
  documentationUrl: String.t() | nil,
  resource: GoogleApi.WorkloadManager.V1.Model.Resource.t() | nil,
  rule: String.t() | nil,
  severity: String.t() | nil,
  type: String.t() | nil,
  violationDetails:
    GoogleApi.WorkloadManager.V1.Model.ViolationDetails.t() | nil,
  violationMessage: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.