Class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityAssessmentNote
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1beta1::VulnerabilityAssessmentNote
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb 
Overview
A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE.
Instance Attribute Summary collapse
- 
  
    
      #assessment  ⇒ Google::Apis::ContaineranalysisV1beta1::Assessment 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Assessment provides all information that is related to a single vulnerability for this product.
 - 
  
    
      #language_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
 - 
  
    
      #long_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A detailed description of this Vex.
 - 
  
    
      #product  ⇒ Google::Apis::ContaineranalysisV1beta1::Product 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Product contains information about a product and how to uniquely identify it.
 - 
  
    
      #publisher  ⇒ Google::Apis::ContaineranalysisV1beta1::Publisher 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Publisher contains information about the publisher of this Note.
 - 
  
    
      #short_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A one sentence description of this Vex.
 - 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The title of the note.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VulnerabilityAssessmentNote 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VulnerabilityAssessmentNote.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ VulnerabilityAssessmentNote
Returns a new instance of VulnerabilityAssessmentNote.
      6878 6879 6880  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6878 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#assessment ⇒ Google::Apis::ContaineranalysisV1beta1::Assessment
Assessment provides all information that is related to a single vulnerability
for this product.
Corresponds to the JSON property assessment
      6845 6846 6847  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6845 def assessment @assessment end  | 
  
#language_code ⇒ String
Identifies the language used by this document, corresponding to IETF BCP 47 /
RFC 5646.
Corresponds to the JSON property languageCode
      6851 6852 6853  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6851 def language_code @language_code end  | 
  
#long_description ⇒ String
A detailed description of this Vex.
Corresponds to the JSON property longDescription
      6856 6857 6858  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6856 def long_description @long_description end  | 
  
#product ⇒ Google::Apis::ContaineranalysisV1beta1::Product
Product contains information about a product and how to uniquely identify it.
Corresponds to the JSON property product
      6861 6862 6863  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6861 def product @product end  | 
  
#publisher ⇒ Google::Apis::ContaineranalysisV1beta1::Publisher
Publisher contains information about the publisher of this Note.
Corresponds to the JSON property publisher
      6866 6867 6868  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6866 def publisher @publisher end  | 
  
#short_description ⇒ String
A one sentence description of this Vex.
Corresponds to the JSON property shortDescription
      6871 6872 6873  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6871 def short_description @short_description end  | 
  
#title ⇒ String
The title of the note. E.g. Vex-Debian-11.4
Corresponds to the JSON property title
      6876 6877 6878  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6876 def title @title end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6883 6884 6885 6886 6887 6888 6889 6890 6891  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6883 def update!(**args) @assessment = args[:assessment] if args.key?(:assessment) @language_code = args[:language_code] if args.key?(:language_code) @long_description = args[:long_description] if args.key?(:long_description) @product = args[:product] if args.key?(:product) @publisher = args[:publisher] if args.key?(:publisher) @short_description = args[:short_description] if args.key?(:short_description) @title = args[:title] if args.key?(:title) end  |