class Google::Apis::IamV1::LintResult
Structured response of a single validation unit.
Attributes
Human readable debug message associated with the issue. Corresponds to the JSON property `debugMessage` @return [String]
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. Corresponds to the JSON property `fieldName` @return [String]
The validation unit level. Corresponds to the JSON property `level` @return [String]
0-based character position of problematic construct within the object identified by `field_name`. Currently, this is populated only for condition expression. Corresponds to the JSON property `locationOffset` @return [Fixnum]
The validation unit severity. Corresponds to the JSON property `severity` @return [String]
The validation unit name, for instance “lintValidationUnits/ ConditionComplexityCheck”. Corresponds to the JSON property `validationUnitName` @return [String]
Public Class Methods
# File lib/google/apis/iam_v1/classes.rb, line 618 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/iam_v1/classes.rb, line 623 def update!(**args) @debug_message = args[:debug_message] if args.key?(:debug_message) @field_name = args[:field_name] if args.key?(:field_name) @level = args[:level] if args.key?(:level) @location_offset = args[:location_offset] if args.key?(:location_offset) @severity = args[:severity] if args.key?(:severity) @validation_unit_name = args[:validation_unit_name] if args.key?(:validation_unit_name) end