Class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetailsReference
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetailsReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1alpha/classes.rb,
lib/google/apis/osconfig_v1alpha/representations.rb,
lib/google/apis/osconfig_v1alpha/representations.rb
Overview
A reference for this vulnerability.
Instance Attribute Summary collapse
-
#source ⇒ String
The source of the reference e.g.
-
#url ⇒ String
The url of the reference.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VulnerabilityReportVulnerabilityDetailsReference
constructor
A new instance of VulnerabilityReportVulnerabilityDetailsReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VulnerabilityReportVulnerabilityDetailsReference
Returns a new instance of VulnerabilityReportVulnerabilityDetailsReference.
2769 2770 2771 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 2769 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source ⇒ String
The source of the reference e.g. NVD.
Corresponds to the JSON property source
2762 2763 2764 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 2762 def source @source end |
#url ⇒ String
The url of the reference.
Corresponds to the JSON property url
2767 2768 2769 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 2767 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2774 2775 2776 2777 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 2774 def update!(**args) @source = args[:source] if args.key?(:source) @url = args[:url] if args.key?(:url) end |