Class: Google::Cloud::ServiceManagement::V1::Diagnostic
- Inherits:
-
Object
- Object
- Google::Cloud::ServiceManagement::V1::Diagnostic
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/servicemanagement/v1/resources.rb
Overview
Represents a diagnostic message (error or warning)
Defined Under Namespace
Modules: Kind
Instance Attribute Summary collapse
-
#kind ⇒ ::Google::Cloud::ServiceManagement::V1::Diagnostic::Kind
The kind of diagnostic information provided.
-
#location ⇒ ::String
File name and line number of the error or warning.
-
#message ⇒ ::String
Message describing the error or warning.
Instance Attribute Details
#kind ⇒ ::Google::Cloud::ServiceManagement::V1::Diagnostic::Kind
Returns The kind of diagnostic information provided.
102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'proto_docs/google/api/servicemanagement/v1/resources.rb', line 102 class Diagnostic include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The kind of diagnostic information possible. module Kind # Warnings and errors WARNING = 0 # Only errors ERROR = 1 end end |
#location ⇒ ::String
Returns File name and line number of the error or warning.
102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'proto_docs/google/api/servicemanagement/v1/resources.rb', line 102 class Diagnostic include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The kind of diagnostic information possible. module Kind # Warnings and errors WARNING = 0 # Only errors ERROR = 1 end end |
#message ⇒ ::String
Returns Message describing the error or warning.
102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'proto_docs/google/api/servicemanagement/v1/resources.rb', line 102 class Diagnostic include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The kind of diagnostic information possible. module Kind # Warnings and errors WARNING = 0 # Only errors ERROR = 1 end end |