Class LintResult (1.2.0)

public sealed class LintResult : IMessage<LintResult>, IEquatable<LintResult>, IDeepCloneable<LintResult>, IBufferMessage, IMessage

Structured response of a single validation unit.

Inheritance

Object > LintResult

Namespace

Google.Cloud.Iam.Admin.V1

Assembly

Google.Cloud.Iam.Admin.V1.dll

Constructors

LintResult()

public LintResult()

LintResult(LintResult)

public LintResult(LintResult other)
Parameter
NameDescription
otherLintResult

Properties

DebugMessage

public string DebugMessage { get; set; }

Human readable debug message associated with the issue.

Property Value
TypeDescription
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
TypeDescription
String

Level

public LintResult.Types.Level Level { get; set; }

The validation unit level.

Property Value
TypeDescription
LintResult.Types.Level

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
TypeDescription
Int32

Severity

public LintResult.Types.Severity Severity { get; set; }

The validation unit severity.

Property Value
TypeDescription
LintResult.Types.Severity

ValidationUnitName

public string ValidationUnitName { get; set; }

The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".

Property Value
TypeDescription
String