google-cloud-debugger - Class Google::Cloud::Debugger::Breakpoint::StatusMessage (v0.42.2)

Reference documentation and code samples for the google-cloud-debugger class Google::Cloud::Debugger::Breakpoint::StatusMessage.

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

Methods

.from_grpc

def self.from_grpc(grpc)

New Google::Cloud::Debugger::Breakpoint::StatusMessage from a Google::Cloud::Debugger::V2::StatusMessage object.

#description

def description()

Status message text.

#description=

def description=(value)

Status message text.

#is_error

def is_error()

Distinguishes errors from informational messages.

#is_error=

def is_error=(value)

Distinguishes errors from informational messages.

#refers_to

def refers_to()

Reference to which the message applies.

#refers_to=

def refers_to=(value)

Reference to which the message applies.

#to_grpc

def to_grpc()

Exports the StatusMessage to a Google::Cloud::Debugger::V2::StatusMessage object.

Constants

UNSPECIFIED

value: :UNSPECIFIED
Constants used as references to which the message applies.

BREAKPOINT_SOURCE_LOCATION

value: :BREAKPOINT_SOURCE_LOCATION

BREAKPOINT_CONDITION

value: :BREAKPOINT_CONDITION

BREAKPOINT_EXPRESSION

value: :BREAKPOINT_EXPRESSION

BREAKPOINT_AGE

value: :BREAKPOINT_AGE

VARIABLE_NAME

value: :VARIABLE_NAME

VARIABLE_VALUE

value: :VARIABLE_VALUE