Class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceMsi

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v1alpha/classes.rb,
lib/google/apis/osconfig_v1alpha/representations.rb,
lib/google/apis/osconfig_v1alpha/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.



1770
1771
1772
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1770

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>)


1763
1764
1765
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1763

def properties
  @properties
end

#sourceGoogle::Apis::OsconfigV1alpha::OsPolicyResourceFile

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



1768
1769
1770
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1768

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1775
1776
1777
1778
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1775

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