Reference documentation and code samples for the Cloud Debugger V2 API class Google::Cloud::Debugger::V2::StatusMessage.
Represents a contextual status message.
The message can indicate an error or informational status, and refer to
specific parts of the containing object.
For example, the Breakpoint.status
field can indicate an error referring
to the BREAKPOINT_SOURCE_LOCATION
with the message Location not found
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::Google::Cloud::Debugger::V2::FormatMessage
Returns
- (::Google::Cloud::Debugger::V2::FormatMessage) — Status message text.
#description=
def description=(value) -> ::Google::Cloud::Debugger::V2::FormatMessage
Parameter
- value (::Google::Cloud::Debugger::V2::FormatMessage) — Status message text.
Returns
- (::Google::Cloud::Debugger::V2::FormatMessage) — Status message text.
#is_error
def is_error() -> ::Boolean
Returns
- (::Boolean) — Distinguishes errors from informational messages.
#is_error=
def is_error=(value) -> ::Boolean
Parameter
- value (::Boolean) — Distinguishes errors from informational messages.
Returns
- (::Boolean) — Distinguishes errors from informational messages.
#refers_to
def refers_to() -> ::Google::Cloud::Debugger::V2::StatusMessage::Reference
Returns
- (::Google::Cloud::Debugger::V2::StatusMessage::Reference) — Reference to which the message applies.
#refers_to=
def refers_to=(value) -> ::Google::Cloud::Debugger::V2::StatusMessage::Reference
Parameter
- value (::Google::Cloud::Debugger::V2::StatusMessage::Reference) — Reference to which the message applies.
Returns
- (::Google::Cloud::Debugger::V2::StatusMessage::Reference) — Reference to which the message applies.