Class: Google::Apis::ContaineranalysisV1::PackageOccurrence
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::PackageOccurrence
- 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
Details on how a particular software package was installed on a system.
Instance Attribute Summary collapse
-
#location ⇒ Array<Google::Apis::ContaineranalysisV1::Location>
Required.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PackageOccurrence
constructor
A new instance of PackageOccurrence.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PackageOccurrence
Returns a new instance of PackageOccurrence.
3859 3860 3861 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3859 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Array<Google::Apis::ContaineranalysisV1::Location>
Required. All of the places within the filesystem versions of this package
have been found.
Corresponds to the JSON property location
3852 3853 3854 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3852 def location @location end |
#name ⇒ String
Output only. The name of the installed package.
Corresponds to the JSON property name
3857 3858 3859 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3857 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3864 3865 3866 3867 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3864 def update!(**args) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) end |