Class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceMsi

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OsPolicyResourcePackageResourceMsi

Returns a new instance of OsPolicyResourcePackageResourceMsi.



2419
2420
2421
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2419

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

Instance Attribute Details

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

Returns:

  • (Array<String>)


2412
2413
2414
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2412

def properties
  @properties
end

#sourceGoogle::Apis::OsconfigV1::OsPolicyResourceFile

A remote or local file. Corresponds to the JSON property source



2417
2418
2419
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2417

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2424
2425
2426
2427
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2424

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