Class: Google::Apis::ClouddebuggerV2::StatusMessage
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClouddebuggerV2::StatusMessage
 
- Defined in:
- generated/google/apis/clouddebugger_v2/classes.rb,
 generated/google/apis/clouddebugger_v2/representations.rb,
 generated/google/apis/clouddebugger_v2/representations.rb
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ Google::Apis::ClouddebuggerV2::FormatMessage 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents a message with parameters. 
- 
  
    
      #is_error  ⇒ Boolean 
    
    
      (also: #is_error?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Distinguishes errors from informational messages. 
- 
  
    
      #refers_to  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Reference to which the message applies. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ StatusMessage 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of StatusMessage. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StatusMessage
Returns a new instance of StatusMessage
| 893 894 895 | # File 'generated/google/apis/clouddebugger_v2/classes.rb', line 893 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#description ⇒ Google::Apis::ClouddebuggerV2::FormatMessage
Represents a message with parameters.
Corresponds to the JSON property description
| 880 881 882 | # File 'generated/google/apis/clouddebugger_v2/classes.rb', line 880 def description @description end | 
#is_error ⇒ Boolean Also known as: is_error?
Distinguishes errors from informational messages.
Corresponds to the JSON property isError
| 885 886 887 | # File 'generated/google/apis/clouddebugger_v2/classes.rb', line 885 def is_error @is_error end | 
#refers_to ⇒ String
Reference to which the message applies.
Corresponds to the JSON property refersTo
| 891 892 893 | # File 'generated/google/apis/clouddebugger_v2/classes.rb', line 891 def refers_to @refers_to end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 898 899 900 901 902 | # File 'generated/google/apis/clouddebugger_v2/classes.rb', line 898 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 |