class Google::Apis::ContaineranalysisV1alpha1::Location

An occurrence of a particular package installation found within a system's filesystem. e.g. glibc was found in /var/lib/dpkg/status

Attributes

cpe_uri[RW]

The cpe_uri in [cpe format](cpe.mitre.org/specification/) denoting the package manager version distributing a package. Corresponds to the JSON property `cpeUri` @return [String]

path[RW]

The path from which we gathered that this package/version is installed. Corresponds to the JSON property `path` @return [String]

version[RW]

Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: serverfault.com/questions/604541/ debian-packages-version-convention For a discussion of this in Redhat/Fedora/ Centos: blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ Corresponds to the JSON property `version` @return [Google::Apis::ContaineranalysisV1alpha1::Version]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 2178
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_v1alpha1/classes.rb, line 2183
def update!(**args)
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
  @path = args[:path] if args.key?(:path)
  @version = args[:version] if args.key?(:version)
end