Reference documentation and code samples for the Google Cloud Api Hub V1 Client class Issue.
Issue contains the details of a single issue found by the linter.
Generated from protobuf message google.cloud.apihub.v1.Issue
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ code
string
Required. Rule code unique to each rule defined in linter.
↳ path
array
Required. An array of strings indicating the location in the analyzed document where the rule was triggered.
↳ message
string
Required. Human-readable message describing the issue found by the linter.
↳ severity
int
Required. Severity level of the rule violation.
↳ range
getCode
Required. Rule code unique to each rule defined in linter.
string
setCode
Required. Rule code unique to each rule defined in linter.
var
string
$this
getPath
Required. An array of strings indicating the location in the analyzed document where the rule was triggered.
setPath
Required. An array of strings indicating the location in the analyzed document where the rule was triggered.
var
string[]
$this
getMessage
Required. Human-readable message describing the issue found by the linter.
string
setMessage
Required. Human-readable message describing the issue found by the linter.
var
string
$this
getSeverity
Required. Severity level of the rule violation.
int
setSeverity
Required. Severity level of the rule violation.
var
int
Enum of type Severity .
$this
getRange
Required. Object describing where in the file the issue was found.
hasRange
clearRange
setRange
Required. Object describing where in the file the issue was found.
$this

