Class: Google::Apis::OndemandscanningV1::PackageOccurrence
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1::PackageOccurrence
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1/classes.rb,
lib/google/apis/ondemandscanning_v1/representations.rb,
lib/google/apis/ondemandscanning_v1/representations.rb
Overview
Details on how a particular software package was installed on a system.
Instance Attribute Summary collapse
-
#location ⇒ Array<Google::Apis::OndemandscanningV1::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.
1688 1689 1690 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1688 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Array<Google::Apis::OndemandscanningV1::Location>
Required. All of the places within the filesystem versions of this package
have been found.
Corresponds to the JSON property location
1681 1682 1683 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1681 def location @location end |
#name ⇒ String
Output only. The name of the installed package.
Corresponds to the JSON property name
1686 1687 1688 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1686 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1693 1694 1695 1696 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1693 def update!(**args) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) end |