google_api_iam v0.8.1 GoogleApi.IAM.V1.Model.LintResult View Source

Structured response of a single validation unit.

Attributes

  • bindingOrdinal (type: integer(), default: nil) - 0-based index ordinality of the binding in the input object associated with this result. This field is populated only if the input object to lint is of type google.iam.v1.Policy, which can comprise more than one binding. It is set to -1 if the result is not associated with any particular binding and only targets the policy as a whole, such as results about policy size violations.

  • 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 instance, if the lint request is on a google.iam.v1.Policy and this lint result is about a condition expression of one of the input policy bindings, the field would be populated as policy.bindings.condition.expression.

    This field does not identify the ordinality of the repetitive fields (for instance bindings in a policy).

  • 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”.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.IAM.V1.Model.LintResult{
  bindingOrdinal: integer(),
  debugMessage: String.t(),
  fieldName: String.t(),
  level: String.t(),
  locationOffset: integer(),
  severity: String.t(),
  validationUnitName: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.