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

excludes[RW]

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

exclusive_packages[RW]

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

minimal[RW]

Will cause patch to run `yum update-minimal` instead. Corresponds to the JSON property `minimal` @return [Boolean]

minimal?[RW]

Will cause patch to run `yum update-minimal` instead. Corresponds to the JSON property `minimal` @return [Boolean]

security[RW]

Adds the `–security` flag to `yum update`. Not supported on all platforms. Corresponds to the JSON property `security` @return [Boolean]

security?[RW]

Adds the `–security` flag to `yum update`. Not supported on all platforms. Corresponds to the JSON property `security` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 2287
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_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