Class: Google::Cloud::ApiHub::V1::LintResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/apihub/v1/common_fields.rb

Overview

LintResponse contains the response from the linter.

Defined Under Namespace

Classes: SummaryEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Returns Required. Timestamp when the linting response was generated.

Returns:



1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 1029

class LintResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Count of issues with a given severity.
  # @!attribute [rw] severity
  #   @return [::Google::Cloud::ApiHub::V1::Severity]
  #     Required. Severity of the issue.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Required. Count of issues with the given severity.
  class SummaryEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#issues::Array<::Google::Cloud::ApiHub::V1::Issue>

Returns Optional. Array of issues found in the analyzed document.

Returns:



1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 1029

class LintResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Count of issues with a given severity.
  # @!attribute [rw] severity
  #   @return [::Google::Cloud::ApiHub::V1::Severity]
  #     Required. Severity of the issue.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Required. Count of issues with the given severity.
  class SummaryEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#linter::Google::Cloud::ApiHub::V1::Linter

Returns Required. Name of the linter used.

Returns:



1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 1029

class LintResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Count of issues with a given severity.
  # @!attribute [rw] severity
  #   @return [::Google::Cloud::ApiHub::V1::Severity]
  #     Required. Severity of the issue.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Required. Count of issues with the given severity.
  class SummaryEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#source::String

Returns Required. Name of the linting application.

Returns:

  • (::String)

    Required. Name of the linting application.



1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 1029

class LintResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Count of issues with a given severity.
  # @!attribute [rw] severity
  #   @return [::Google::Cloud::ApiHub::V1::Severity]
  #     Required. Severity of the issue.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Required. Count of issues with the given severity.
  class SummaryEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#state::Google::Cloud::ApiHub::V1::LintState

Returns Required. Lint state represents success or failure for linting.

Returns:



1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 1029

class LintResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Count of issues with a given severity.
  # @!attribute [rw] severity
  #   @return [::Google::Cloud::ApiHub::V1::Severity]
  #     Required. Severity of the issue.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Required. Count of issues with the given severity.
  class SummaryEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#summary::Array<::Google::Cloud::ApiHub::V1::LintResponse::SummaryEntry>

Returns Optional. Summary of all issue types and counts for each severity level.

Returns:



1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 1029

class LintResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Count of issues with a given severity.
  # @!attribute [rw] severity
  #   @return [::Google::Cloud::ApiHub::V1::Severity]
  #     Required. Severity of the issue.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Required. Count of issues with the given severity.
  class SummaryEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end