Class: Google::Apis::ContaineranalysisV1beta1::Installation

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb

Overview

This represents how a particular software package may be installed on a system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Installation

Returns a new instance of Installation.



1797
1798
1799
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1797

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#locationArray<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



1790
1791
1792
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1790

def location
  @location
end

#nameString

Output only. The name of the installed package. Corresponds to the JSON property name

Returns:

  • (String)


1795
1796
1797
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1795

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1802
1803
1804
1805
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1802

def update!(**args)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
end