class Google::Apis::ClouddebuggerV2::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`.

Attributes

description[RW]

Represents a message with parameters. Corresponds to the JSON property `description` @return [Google::Apis::ClouddebuggerV2::FormatMessage]

is_error[RW]

Distinguishes errors from informational messages. Corresponds to the JSON property `isError` @return [Boolean]

is_error?[RW]

Distinguishes errors from informational messages. Corresponds to the JSON property `isError` @return [Boolean]

refers_to[RW]

Reference to which the message applies. Corresponds to the JSON property `refersTo` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/clouddebugger_v2/classes.rb, line 917
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/clouddebugger_v2/classes.rb, line 922
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @is_error = args[:is_error] if args.key?(:is_error)
  @refers_to = args[:refers_to] if args.key?(:refers_to)
end