Class: Google::Apis::WebsecurityscannerV1alpha::Xss
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::WebsecurityscannerV1alpha::Xss
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/websecurityscanner_v1alpha/classes.rb,
 generated/google/apis/websecurityscanner_v1alpha/representations.rb,
 generated/google/apis/websecurityscanner_v1alpha/representations.rb
Overview
Information reported for an XSS.
Instance Attribute Summary collapse
- 
  
    
      #error_message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An error message generated by a javascript breakage. 
- 
  
    
      #stack_traces  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Stack traces leading to the point where the XSS occurred. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Xss 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Xss. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Xss
Returns a new instance of Xss
| 748 749 750 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 748 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#error_message ⇒ String
An error message generated by a javascript breakage.
Corresponds to the JSON property errorMessage
| 741 742 743 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 741 def @error_message end | 
#stack_traces ⇒ Array<String>
Stack traces leading to the point where the XSS occurred.
Corresponds to the JSON property stackTraces
| 746 747 748 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 746 def stack_traces @stack_traces end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 753 754 755 756 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 753 def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) @stack_traces = args[:stack_traces] if args.key?(:stack_traces) end |