public sealed class LintResult : IMessage<LintResult>, IEquatable<LintResult>, IDeepCloneable<LintResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class LintResult.
Structured response of a single validation unit.
Implements
IMessageLintResult, IEquatableLintResult, IDeepCloneableLintResult, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.Admin.V1Assembly
Google.Cloud.Iam.Admin.V1.dll
Constructors
LintResult()
public LintResult()
LintResult(LintResult)
public LintResult(LintResult other)
Parameter | |
---|---|
Name | Description |
other | LintResult |
Properties
DebugMessage
public string DebugMessage { get; set; }
Human readable debug message associated with the issue.
Property Value | |
---|---|
Type | Description |
string |
FieldName
public string FieldName { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Level
public LintResult.Types.Level Level { get; set; }
The validation unit level.
Property Value | |
---|---|
Type | Description |
LintResultTypesLevel |
LocationOffset
public int LocationOffset { get; set; }
0-based character position of problematic construct within the object
identified by field_name
. Currently, this is populated only for condition
expression.
Property Value | |
---|---|
Type | Description |
int |
Severity
public LintResult.Types.Severity Severity { get; set; }
The validation unit severity.
Property Value | |
---|---|
Type | Description |
LintResultTypesSeverity |
ValidationUnitName
public string ValidationUnitName { get; set; }
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
Property Value | |
---|---|
Type | Description |
string |