Class: Google::Apis::IamV1::LintResult
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::LintResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Overview
Structured response of a single validation unit.
Instance Attribute Summary collapse
-
#debug_message ⇒ String
Human readable debug message associated with the issue.
-
#field_name ⇒ String
The name of the field for which this lint result is about.
-
#level ⇒ String
The validation unit level.
-
#location_offset ⇒ Fixnum
0-based character position of problematic construct within the object identified by
field_name
. -
#severity ⇒ String
The validation unit severity.
-
#validation_unit_name ⇒ String
The validation unit name, for instance "lintValidationUnits/ ConditionComplexityCheck".
Instance Method Summary collapse
-
#initialize(**args) ⇒ LintResult
constructor
A new instance of LintResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LintResult
Returns a new instance of LintResult.
1050 1051 1052 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1050 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_message ⇒ String
Human readable debug message associated with the issue.
Corresponds to the JSON property debugMessage
1016 1017 1018 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1016 def @debug_message end |
#field_name ⇒ 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
1025 1026 1027 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1025 def field_name @field_name end |
#level ⇒ String
The validation unit level.
Corresponds to the JSON property level
1030 1031 1032 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1030 def level @level end |
#location_offset ⇒ Fixnum
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
1037 1038 1039 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1037 def location_offset @location_offset end |
#severity ⇒ String
The validation unit severity.
Corresponds to the JSON property severity
1042 1043 1044 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1042 def severity @severity end |
#validation_unit_name ⇒ String
The validation unit name, for instance "lintValidationUnits/
ConditionComplexityCheck".
Corresponds to the JSON property validationUnitName
1048 1049 1050 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1048 def validation_unit_name @validation_unit_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1055 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 |