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
Represents a message with parameters. Corresponds to the JSON property `description` @return [Google::Apis::ClouddebuggerV2::FormatMessage]
Distinguishes errors from informational messages. Corresponds to the JSON property `isError` @return [Boolean]
Distinguishes errors from informational messages. Corresponds to the JSON property `isError` @return [Boolean]
Reference to which the message applies. Corresponds to the JSON property `refersTo` @return [String]
Public Class Methods
# File lib/google/apis/clouddebugger_v2/classes.rb, line 917 def initialize(**args) update!(**args) end
Public Instance Methods
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