API hub V1 API - Class Google::Cloud::ApiHub::V1::Issue (v0.2.0)

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

#range=

def range=(value) -> ::Google::Cloud::ApiHub::V1::Range
Parameter
Returns

#severity

def severity() -> ::Google::Cloud::ApiHub::V1::Severity
Returns

#severity=

def severity=(value) -> ::Google::Cloud::ApiHub::V1::Severity
Parameter
Returns