Class: Google::Apis::ContaineranalysisV1alpha1::Installation
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::Installation
- Defined in:
- generated/google/apis/containeranalysis_v1alpha1/classes.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb
Overview
This represents how a particular software package may be installed on a system.
Instance Attribute Summary collapse
-
#location ⇒ Array<Google::Apis::ContaineranalysisV1alpha1::Location>
All of the places within the filesystem versions of this package have been found.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Installation
constructor
A new instance of Installation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Installation
Returns a new instance of Installation
1434 1435 1436 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1434 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Array<Google::Apis::ContaineranalysisV1alpha1::Location>
All of the places within the filesystem versions of this package
have been found.
Corresponds to the JSON property location
1427 1428 1429 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1427 def location @location end |
#name ⇒ String
Output only. The name of the installed package.
Corresponds to the JSON property name
1432 1433 1434 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1432 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1439 1440 1441 1442 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1439 def update!(**args) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) end |