Class: Google::Apis::ContaineranalysisV1beta1::Installation
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::Installation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb
Overview
This represents how a particular software package may be installed on a system.
Instance Attribute Summary collapse
-
#location ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Location>
Required.
-
#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.
Constructor Details
#initialize(**args) ⇒ Installation
Returns a new instance of Installation.
3302 3303 3304 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Location>
Required. All of the places within the filesystem versions of this package
have been found.
Corresponds to the JSON property location
3295 3296 3297 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3295 def location @location end |
#name ⇒ String
Output only. The name of the installed package.
Corresponds to the JSON property name
3300 3301 3302 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3300 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3307 3308 3309 3310 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3307 def update!(**args) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) end |