class Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceRpm
An RPM package file. RPM packages only support INSTALLED state.
Attributes
pull_deps[RW]
Whether dependencies should also be installed. - install when false: `rpm – upgrade –replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm` Corresponds to the JSON property `pullDeps` @return [Boolean]
pull_deps?[RW]
Whether dependencies should also be installed. - install when false: `rpm – upgrade –replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm` Corresponds to the JSON property `pullDeps` @return [Boolean]
source[RW]
A remote or local file. Corresponds to the JSON property `source` @return [Google::Apis::OsconfigV1alpha::OsPolicyResourceFile]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 1983 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 1988 def update!(**args) @pull_deps = args[:pull_deps] if args.key?(:pull_deps) @source = args[:source] if args.key?(:source) end