Reference documentation and code samples for the Service Management V1 API class Google::Cloud::ServiceManagement::V1::Diagnostic.
Represents a diagnostic message (error or warning)
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#kind
def kind() -> ::Google::Cloud::ServiceManagement::V1::Diagnostic::Kind
Returns
- (::Google::Cloud::ServiceManagement::V1::Diagnostic::Kind) — The kind of diagnostic information provided.
#kind=
def kind=(value) -> ::Google::Cloud::ServiceManagement::V1::Diagnostic::Kind
Parameter
- value (::Google::Cloud::ServiceManagement::V1::Diagnostic::Kind) — The kind of diagnostic information provided.
Returns
- (::Google::Cloud::ServiceManagement::V1::Diagnostic::Kind) — The kind of diagnostic information provided.
#location
def location() -> ::String
Returns
- (::String) — File name and line number of the error or warning.
#location=
def location=(value) -> ::String
Parameter
- value (::String) — File name and line number of the error or warning.
Returns
- (::String) — File name and line number of the error or warning.
#message
def message() -> ::String
Returns
- (::String) — Message describing the error or warning.
#message=
def message=(value) -> ::String
Parameter
- value (::String) — Message describing the error or warning.
Returns
- (::String) — Message describing the error or warning.