# Class PatchConfig (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.2 1.19.0 1.18.1 1.17.5 1.16.0 1.15.3 1.14.1 1.13.0 1.12.4 1.11.2 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.1.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 ||
|---|---|
| **Name** | **Description** |
| `reboot_config` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig` Post-patch reboot settings. |
| `apt` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.AptSettings` Apt update settings. Use this setting to override the default `apt` patch rules. |
| `yum` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.YumSettings` Yum update settings. Use this setting to override the default `yum` patch rules. |
| `goo` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GooSettings` Goo update settings. Use this setting to override the default `goo` patch rules. |
| `zypper` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ZypperSettings` Zypper update settings. Use this setting to override the default `zypper` patch rules. |
| `windows_update` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.WindowsUpdateSettings` Windows update settings. Use this override the default windows patch rules. |
| `pre_step` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.ExecStep` The `ExecStep` to run before the patch update. |
| `post_step` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/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.