Class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetailsReference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VulnerabilityReportVulnerabilityDetailsReference

Returns a new instance of VulnerabilityReportVulnerabilityDetailsReference.



2296
2297
2298
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 2296

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#urlString

The url of the reference. Corresponds to the JSON property url

Returns:

  • (String)


2294
2295
2296
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 2294

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2301
2302
2303
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 2301

def update!(**args)
  @url = args[:url] if args.key?(:url)
end