Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::LintResponse.
LintResponse contains the response from the linter.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Required. Timestamp when the linting response was generated.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Required. Timestamp when the linting response was generated.
Returns
- (::Google::Protobuf::Timestamp) — Required. Timestamp when the linting response was generated.
#issues
def issues() -> ::Array<::Google::Cloud::ApiHub::V1::Issue>
Returns
- (::Array<::Google::Cloud::ApiHub::V1::Issue>) — Optional. Array of issues found in the analyzed document.
#issues=
def issues=(value) -> ::Array<::Google::Cloud::ApiHub::V1::Issue>
Parameter
- value (::Array<::Google::Cloud::ApiHub::V1::Issue>) — Optional. Array of issues found in the analyzed document.
Returns
- (::Array<::Google::Cloud::ApiHub::V1::Issue>) — Optional. Array of issues found in the analyzed document.
#linter
def linter() -> ::Google::Cloud::ApiHub::V1::Linter
Returns
- (::Google::Cloud::ApiHub::V1::Linter) — Required. Name of the linter used.
#linter=
def linter=(value) -> ::Google::Cloud::ApiHub::V1::Linter
Parameter
- value (::Google::Cloud::ApiHub::V1::Linter) — Required. Name of the linter used.
Returns
- (::Google::Cloud::ApiHub::V1::Linter) — Required. Name of the linter used.
#source
def source() -> ::String
Returns
- (::String) — Required. Name of the linting application.
#source=
def source=(value) -> ::String
Parameter
- value (::String) — Required. Name of the linting application.
Returns
- (::String) — Required. Name of the linting application.
#state
def state() -> ::Google::Cloud::ApiHub::V1::LintState
Returns
- (::Google::Cloud::ApiHub::V1::LintState) — Required. Lint state represents success or failure for linting.
#state=
def state=(value) -> ::Google::Cloud::ApiHub::V1::LintState
Parameter
- value (::Google::Cloud::ApiHub::V1::LintState) — Required. Lint state represents success or failure for linting.
Returns
- (::Google::Cloud::ApiHub::V1::LintState) — Required. Lint state represents success or failure for linting.
#summary
def summary() -> ::Array<::Google::Cloud::ApiHub::V1::LintResponse::SummaryEntry>
Returns
- (::Array<::Google::Cloud::ApiHub::V1::LintResponse::SummaryEntry>) — Optional. Summary of all issue types and counts for each severity level.
#summary=
def summary=(value) -> ::Array<::Google::Cloud::ApiHub::V1::LintResponse::SummaryEntry>
Parameter
- value (::Array<::Google::Cloud::ApiHub::V1::LintResponse::SummaryEntry>) — Optional. Summary of all issue types and counts for each severity level.
Returns
- (::Array<::Google::Cloud::ApiHub::V1::LintResponse::SummaryEntry>) — Optional. Summary of all issue types and counts for each severity level.