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

View Source

Message represent a rule

Attributes

  • description (type: String.t, default: nil) - descrite rule in plain language
  • displayName (type: String.t, default: nil) - the name display in UI
  • errorMessage (type: String.t, default: nil) - the message template for rule
  • name (type: String.t, default: nil) - rule name
  • primaryCategory (type: String.t, default: nil) - the primary category
  • remediation (type: String.t, default: nil) - the remediation for the rule
  • revisionId (type: String.t, default: nil) - Output only. the version of the rule
  • secondaryCategory (type: String.t, default: nil) - the secondary category
  • severity (type: String.t, default: nil) - the severity of the rule
  • tags (type: list(String.t), default: nil) - List of user-defined tags
  • uri (type: String.t, default: nil) - the docuement url for the rule

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WorkloadManager.V1.Model.Rule{
  description: String.t() | nil,
  displayName: String.t() | nil,
  errorMessage: String.t() | nil,
  name: String.t() | nil,
  primaryCategory: String.t() | nil,
  remediation: String.t() | nil,
  revisionId: String.t() | nil,
  secondaryCategory: String.t() | nil,
  severity: String.t() | nil,
  tags: [String.t()] | nil,
  uri: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.