Class: Google::Apis::FirebaserulesV1::Issue
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FirebaserulesV1::Issue
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebaserules_v1/classes.rb,
 generated/google/apis/firebaserules_v1/representations.rb,
 generated/google/apis/firebaserules_v1/representations.rb
Overview
Issues include warnings, errors, and deprecation notices.
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Short error description. 
- 
  
    
      #severity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The severity of the issue. 
- 
  
    
      #source_position  ⇒ Google::Apis::FirebaserulesV1::SourcePosition 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Position in the Sourcecontent including its line, column number, and an index of theFilein theSourcemessage.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Issue 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Issue. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Issue
Returns a new instance of Issue
| 238 239 240 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 238 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#description ⇒ String
Short error description.
Corresponds to the JSON property description
| 225 226 227 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 225 def description @description end | 
#severity ⇒ String
The severity of the issue.
Corresponds to the JSON property severity
| 230 231 232 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 230 def severity @severity end | 
#source_position ⇒ Google::Apis::FirebaserulesV1::SourcePosition
Position in the Source content including its line, column number, and an
index of the File in the Source message. Used for debug purposes.
Corresponds to the JSON property sourcePosition
| 236 237 238 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 236 def source_position @source_position end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 243 244 245 246 247 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 243 def update!(**args) @description = args[:description] if args.key?(:description) @severity = args[:severity] if args.key?(:severity) @source_position = args[:source_position] if args.key?(:source_position) end |