class Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation

The location of the vulnerability.

Attributes

cpe_uri[RW]

Required. The CPE URI in [cpe format](cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. Corresponds to the JSON property `cpeUri` @return [String]

package[RW]

Required. The package being described. Corresponds to the JSON property `package` @return [String]

version[RW]

Version contains structured information about the version of a package. Corresponds to the JSON property `version` @return [Google::Apis::ContaineranalysisV1beta1::Version]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 3666
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 3671
def update!(**args)
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
  @package = args[:package] if args.key?(:package)
  @version = args[:version] if args.key?(:version)
end