Class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceMsi
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceMsi
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/representations.rb
Overview
An MSI package. MSI packages only support INSTALLED state.
Instance Attribute Summary collapse
-
#properties ⇒ Array<String>
Additional properties to use during installation.
-
#source ⇒ Google::Apis::OsconfigV1::OsPolicyResourceFile
A remote or local file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OsPolicyResourcePackageResourceMsi
constructor
A new instance of OsPolicyResourcePackageResourceMsi.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OsPolicyResourcePackageResourceMsi
Returns a new instance of OsPolicyResourcePackageResourceMsi.
2339 2340 2341 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#properties ⇒ Array<String>
Additional properties to use during installation. This should be in the format
of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=
ReallySuppress
.
Corresponds to the JSON property properties
2332 2333 2334 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2332 def properties @properties end |
#source ⇒ Google::Apis::OsconfigV1::OsPolicyResourceFile
A remote or local file.
Corresponds to the JSON property source
2337 2338 2339 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2337 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2344 2345 2346 2347 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2344 def update!(**args) @properties = args[:properties] if args.key?(:properties) @source = args[:source] if args.key?(:source) end |