class Google::Apis::OndemandscanningV1::PackageData
Attributes
The cpe_uri
in [cpe format] (cpe.mitre.org/specification/) in which the vulnerability may manifest. Examples include distro or storage location for vulnerable jar. Corresponds to the JSON property `cpeUri` @return [String]
The OS affected by a vulnerability This field is deprecated and the information is in cpe_uri
Corresponds to the JSON property `os` @return [String]
The version of the OS This field is deprecated and the information is in cpe_uri
Corresponds to the JSON property `osVersion` @return [String]
The package being analysed for vulnerabilities Corresponds to the JSON property `package` @return [String]
The type of package: os, maven, go, etc. Corresponds to the JSON property `packageType` @return [String]
Corresponds to the JSON property `unused` @return [String]
The version of the package being analysed Corresponds to the JSON property `version` @return [String]
Public Class Methods
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 1533 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 1538 def update!(**args) @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri) @os = args[:os] if args.key?(:os) @os_version = args[:os_version] if args.key?(:os_version) @package = args[:package] if args.key?(:package) @package_type = args[:package_type] if args.key?(:package_type) @unused = args[:unused] if args.key?(:unused) @version = args[:version] if args.key?(:version) end