Send feedback
Class RebootConfig (1.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Post-patch reboot settings.
Enums
Name
Description
REBOOT_CONFIG_UNSPECIFIED
The default behavior is DEFAULT.
DEFAULT
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
Always reboot the machine after the update completes.
NEVER
Never reboot the machine after the update completes.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-11 UTC."],[],[],null,["# Class RebootConfig (1.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.21.0 (latest)](/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.20.2](/python/docs/reference/osconfig/1.20.2/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.19.0](/python/docs/reference/osconfig/1.19.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.18.1](/python/docs/reference/osconfig/1.18.1/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.17.5](/python/docs/reference/osconfig/1.17.5/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.16.0](/python/docs/reference/osconfig/1.16.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.15.3](/python/docs/reference/osconfig/1.15.3/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.14.1](/python/docs/reference/osconfig/1.14.1/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.13.0](/python/docs/reference/osconfig/1.13.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.12.4](/python/docs/reference/osconfig/1.12.4/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.11.2](/python/docs/reference/osconfig/1.11.2/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.10.0](/python/docs/reference/osconfig/1.10.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.9.0](/python/docs/reference/osconfig/1.9.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.8.0](/python/docs/reference/osconfig/1.8.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.7.1](/python/docs/reference/osconfig/1.7.1/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.6.0](/python/docs/reference/osconfig/1.6.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.5.2](/python/docs/reference/osconfig/1.5.2/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.4.0](/python/docs/reference/osconfig/1.4.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.3.2](/python/docs/reference/osconfig/1.3.2/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.2.0](/python/docs/reference/osconfig/1.2.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.1.0](/python/docs/reference/osconfig/1.1.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [1.0.0](/python/docs/reference/osconfig/1.0.0/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig)\n- [0.1.2](/python/docs/reference/osconfig/0.1.2/google.cloud.osconfig_v1.types.PatchConfig.RebootConfig) \n\n RebootConfig(value)\n\nPost-patch reboot settings."]]