Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::Issue.
Issue contains the details of a single issue found by the linter.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::String
Returns
- (::String) — Required. Rule code unique to each rule defined in linter.
#code=
def code=(value) -> ::String
Parameter
- value (::String) — Required. Rule code unique to each rule defined in linter.
Returns
- (::String) — Required. Rule code unique to each rule defined in linter.
#message
def message() -> ::String
Returns
- (::String) — Required. Human-readable message describing the issue found by the linter.
#message=
def message=(value) -> ::String
Parameter
- value (::String) — Required. Human-readable message describing the issue found by the linter.
Returns
- (::String) — Required. Human-readable message describing the issue found by the linter.
#path
def path() -> ::Array<::String>
Returns
- (::Array<::String>) — Required. An array of strings indicating the location in the analyzed document where the rule was triggered.
#path=
def path=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Required. An array of strings indicating the location in the analyzed document where the rule was triggered.
Returns
- (::Array<::String>) — Required. An array of strings indicating the location in the analyzed document where the rule was triggered.
#range
def range() -> ::Google::Cloud::ApiHub::V1::Range
Returns
- (::Google::Cloud::ApiHub::V1::Range) — Required. Object describing where in the file the issue was found.
#range=
def range=(value) -> ::Google::Cloud::ApiHub::V1::Range
Parameter
- value (::Google::Cloud::ApiHub::V1::Range) — Required. Object describing where in the file the issue was found.
Returns
- (::Google::Cloud::ApiHub::V1::Range) — Required. Object describing where in the file the issue was found.
#severity
def severity() -> ::Google::Cloud::ApiHub::V1::Severity
Returns
- (::Google::Cloud::ApiHub::V1::Severity) — Required. Severity level of the rule violation.
#severity=
def severity=(value) -> ::Google::Cloud::ApiHub::V1::Severity
Parameter
- value (::Google::Cloud::ApiHub::V1::Severity) — Required. Severity level of the rule violation.
Returns
- (::Google::Cloud::ApiHub::V1::Severity) — Required. Severity level of the rule violation.