class Google::Apis::OsconfigV1beta::PatchConfig
Patch configuration specifications. Contains details on how to apply the patch( es) to a VM instance.
Attributes
Apt patching is completed by executing `apt-get update && apt-get upgrade`. Additional options can be set to control how this is executed. Corresponds to the JSON property `apt` @return [Google::Apis::OsconfigV1beta::AptSettings]
Googet patching is performed by running `googet update`. Corresponds to the JSON property `goo` @return [Google::Apis::OsconfigV1beta::GooSettings]
A step that runs an executable for a PatchJob
. Corresponds to the JSON property `postStep` @return [Google::Apis::OsconfigV1beta::ExecStep]
A step that runs an executable for a PatchJob
. Corresponds to the JSON property `preStep` @return [Google::Apis::OsconfigV1beta::ExecStep]
Post-patch reboot settings. Corresponds to the JSON property `rebootConfig` @return [String]
Windows patching is performed using the Windows Update Agent. Corresponds to the JSON property `windowsUpdate` @return [Google::Apis::OsconfigV1beta::WindowsUpdateSettings]
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. Corresponds to the JSON property `yum` @return [Google::Apis::OsconfigV1beta::YumSettings]
Zypper patching is performed by running `zypper patch`. See also en. opensuse.org/SDB:Zypper_manual. Corresponds to the JSON property `zypper` @return [Google::Apis::OsconfigV1beta::ZypperSettings]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1049 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1054 def update!(**args) @apt = args[:apt] if args.key?(:apt) @goo = args[:goo] if args.key?(:goo) @post_step = args[:post_step] if args.key?(:post_step) @pre_step = args[:pre_step] if args.key?(:pre_step) @reboot_config = args[:reboot_config] if args.key?(:reboot_config) @windows_update = args[:windows_update] if args.key?(:windows_update) @yum = args[:yum] if args.key?(:yum) @zypper = args[:zypper] if args.key?(:zypper) end