Reference documentation and code samples for the Google Cloud Api Hub V1 Client class SummaryEntry.
Count of issues with a given severity.
Generated from protobuf message google.cloud.apihub.v1.LintResponse.SummaryEntry
Namespace
Google \ Cloud \ ApiHub \ V1 \ LintResponseMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ severity |
int
Required. Severity of the issue. |
↳ count |
int
Required. Count of issues with the given severity. |
getSeverity
Required. Severity of the issue.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Severity. |
setSeverity
Required. Severity of the issue.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Severity. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCount
Required. Count of issues with the given severity.
| Returns | |
|---|---|
| Type | Description |
int |
|
setCount
Required. Count of issues with the given severity.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|