Class PatchConfig (1.17.2)

PatchConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.

Attributes

NameDescription
reboot_config google.cloud.osconfig_v1.types.PatchConfig.RebootConfig
Post-patch reboot settings.
apt google.cloud.osconfig_v1.types.AptSettings
Apt update settings. Use this setting to override the default apt patch rules.
yum google.cloud.osconfig_v1.types.YumSettings
Yum update settings. Use this setting to override the default yum patch rules.
goo google.cloud.osconfig_v1.types.GooSettings
Goo update settings. Use this setting to override the default goo patch rules.
zypper google.cloud.osconfig_v1.types.ZypperSettings
Zypper update settings. Use this setting to override the default zypper patch rules.
windows_update google.cloud.osconfig_v1.types.WindowsUpdateSettings
Windows update settings. Use this override the default windows patch rules.
pre_step google.cloud.osconfig_v1.types.ExecStep
The ExecStep to run before the patch update.
post_step google.cloud.osconfig_v1.types.ExecStep
The ExecStep to run after the patch update.
mig_instances_allowed bool
Allows the patch job to run on Managed instance groups (MIGs).

Classes

RebootConfig

RebootConfig(value)

Post-patch reboot settings.

Values: REBOOT_CONFIG_UNSPECIFIED (0): The default behavior is DEFAULT. DEFAULT (1): The agent decides if a reboot is necessary by checking signals such as registry keys on Windows or /var/run/reboot-required on APT based systems. On RPM based systems, a set of core system package install times are compared with system boot time. ALWAYS (2): Always reboot the machine after the update completes. NEVER (3): Never reboot the machine after the update completes.