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.
3647 3648 3649 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 3647 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
3640 3641 3642 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 3640 def source @source end |
#url ⇒ String
The url of the reference.
Corresponds to the JSON property url
3645 3646 3647 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 3645 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3652 3653 3654 3655 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 3652 def update!(**args) @source = args[:source] if args.key?(:source) @url = args[:url] if args.key?(:url) end |