LintResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)
LintResponse contains the response from the linter.
Attributes |
|
---|---|
Name | Description |
issues |
MutableSequence[google.cloud.apihub_v1.types.Issue]
Optional. Array of issues found in the analyzed document. |
summary |
MutableSequence[google.cloud.apihub_v1.types.LintResponse.SummaryEntry]
Optional. Summary of all issue types and counts for each severity level. |
state |
google.cloud.apihub_v1.types.LintState
Required. Lint state represents success or failure for linting. |
source |
str
Required. Name of the linting application. |
linter |
google.cloud.apihub_v1.types.Linter
Required. Name of the linter used. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Required. Timestamp when the linting response was generated. |
Classes
SummaryEntry
SummaryEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Count of issues with a given severity.