Class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetailsReference
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetailsReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/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.
3814 3815 3816 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 3814 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
3807 3808 3809 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 3807 def source @source end |
#url ⇒ String
The url of the reference.
Corresponds to the JSON property url
3812 3813 3814 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 3812 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3819 3820 3821 3822 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 3819 def update!(**args) @source = args[:source] if args.key?(:source) @url = args[:url] if args.key?(:url) end |