Class Issue (0.2.2)

Issue(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Issue contains the details of a single issue found by the linter.

Attributes

Name Description
code str
Required. Rule code unique to each rule defined in linter.
path MutableSequence[str]
Required. An array of strings indicating the location in the analyzed document where the rule was triggered.
message str
Required. Human-readable message describing the issue found by the linter.
severity google.cloud.apihub_v1.types.Severity
Required. Severity level of the rule violation.
range_ google.cloud.apihub_v1.types.Range
Required. Object describing where in the file the issue was found.