Class: Google::Apis::WebsecurityscannerV1alpha::OutdatedLibrary
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::WebsecurityscannerV1alpha::OutdatedLibrary
 
- 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 outdated library.
Instance Attribute Summary collapse
- 
  
    
      #learn_more_urls  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URLs to learn more information about the vulnerabilities in the library. 
- 
  
    
      #library_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the outdated library. 
- 
  
    
      #version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The version number. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OutdatedLibrary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OutdatedLibrary. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OutdatedLibrary
Returns a new instance of OutdatedLibrary
| 458 459 460 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 458 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#learn_more_urls ⇒ Array<String>
URLs to learn more information about the vulnerabilities in the library.
Corresponds to the JSON property learnMoreUrls
| 446 447 448 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 446 def learn_more_urls @learn_more_urls end | 
#library_name ⇒ String
The name of the outdated library.
Corresponds to the JSON property libraryName
| 451 452 453 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 451 def library_name @library_name end | 
#version ⇒ String
The version number.
Corresponds to the JSON property version
| 456 457 458 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 456 def version @version end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 463 464 465 466 467 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 463 def update!(**args) @learn_more_urls = args[:learn_more_urls] if args.key?(:learn_more_urls) @library_name = args[:library_name] if args.key?(:library_name) @version = args[:version] if args.key?(:version) end |