View Source GoogleApi.IAM.V1.Model.LintResult (google_api_iam v0.42.0)

Structured response of a single validation unit.

Attributes

  • debugMessage (type: String.t, default: nil) - Human readable debug message associated with the issue.
  • fieldName (type: String.t, default: nil) - The name of the field for which this lint result is about. For nested messages field_name consists of names of the embedded fields separated by period character. The top-level qualifier is the input object to lint in the request. For example, the field_name value condition.expression identifies a lint result for the expression field of the provided condition.
  • level (type: String.t, default: nil) - The validation unit level.
  • locationOffset (type: integer(), default: nil) - 0-based character position of problematic construct within the object identified by field_name. Currently, this is populated only for condition expression.
  • severity (type: String.t, default: nil) - The validation unit severity.
  • validationUnitName (type: String.t, default: nil) - The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.IAM.V1.Model.LintResult{
  debugMessage: String.t() | nil,
  fieldName: String.t() | nil,
  level: String.t() | nil,
  locationOffset: integer() | nil,
  severity: String.t() | nil,
  validationUnitName: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.