Class: Google::Apis::ContaineranalysisV1::Location
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::Location
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb
Overview
An occurrence of a particular package installation found within a system's
filesystem. E.g., glibc was found in /var/lib/dpkg/status.
Instance Attribute Summary collapse
-
#cpe_uri ⇒ String
Deprecated.
-
#path ⇒ String
The path from which we gathered that this package/version is installed.
-
#version ⇒ Google::Apis::ContaineranalysisV1::Version
Version contains structured information about the version of a package.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Location
constructor
A new instance of Location.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Location
Returns a new instance of Location.
3639 3640 3641 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cpe_uri ⇒ String
Deprecated. The CPE URI in CPE format
Corresponds to the JSON property cpeUri
3627 3628 3629 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3627 def cpe_uri @cpe_uri end |
#path ⇒ String
The path from which we gathered that this package/version is installed.
Corresponds to the JSON property path
3632 3633 3634 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3632 def path @path end |
#version ⇒ Google::Apis::ContaineranalysisV1::Version
Version contains structured information about the version of a package.
Corresponds to the JSON property version
3637 3638 3639 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3637 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3644 3645 3646 3647 3648 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3644 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 |