class Google::Apis::OsconfigV1beta::YumSettings
Yum patching is performed by executing `yum update`. Additional options can be set to control how this is executed. Note that not all settings are supported on all platforms.
Attributes
List of packages to exclude from update. These packages are excluded by using the yum `–exclude` flag. Corresponds to the JSON property `excludes` @return [Array<String>]
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields. Corresponds to the JSON property `exclusivePackages` @return [Array<String>]
Will cause patch to run `yum update-minimal` instead. Corresponds to the JSON property `minimal` @return [Boolean]
Will cause patch to run `yum update-minimal` instead. Corresponds to the JSON property `minimal` @return [Boolean]
Adds the `–security` flag to `yum update`. Not supported on all platforms. Corresponds to the JSON property `security` @return [Boolean]
Adds the `–security` flag to `yum update`. Not supported on all platforms. Corresponds to the JSON property `security` @return [Boolean]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 2287 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 2292 def update!(**args) @excludes = args[:excludes] if args.key?(:excludes) @exclusive_packages = args[:exclusive_packages] if args.key?(:exclusive_packages) @minimal = args[:minimal] if args.key?(:minimal) @security = args[:security] if args.key?(:security) end