class Google::Apis::OndemandscanningV1::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]

Required. 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 a package. Corresponds to the JSON property `version` @return [Google::Apis::OndemandscanningV1::Version]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ondemandscanning_v1/classes.rb, line 1200
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