Reference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig.
Post-patch reboot settings.
Constants
REBOOT_CONFIG_UNSPECIFIED
value: 0 The default behavior is DEFAULT.
DEFAULT
value: 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
value: 2 Always reboot the machine after the update completes.
NEVER
value: 3 Never reboot the machine after the update completes.
[[["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-09-09 UTC."],[],[],null,["# Cloud OS Config V1 API - Module Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-os_config-v1/1.3.0/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [1.2.1](/ruby/docs/reference/google-cloud-os_config-v1/1.2.1/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [1.1.0](/ruby/docs/reference/google-cloud-os_config-v1/1.1.0/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-os_config-v1/1.0.1/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [0.16.0](/ruby/docs/reference/google-cloud-os_config-v1/0.16.0/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [0.15.2](/ruby/docs/reference/google-cloud-os_config-v1/0.15.2/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [0.14.0](/ruby/docs/reference/google-cloud-os_config-v1/0.14.0/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [0.13.0](/ruby/docs/reference/google-cloud-os_config-v1/0.13.0/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [0.12.0](/ruby/docs/reference/google-cloud-os_config-v1/0.12.0/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [0.11.0](/ruby/docs/reference/google-cloud-os_config-v1/0.11.0/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [0.10.0](/ruby/docs/reference/google-cloud-os_config-v1/0.10.0/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig)\n- [0.9.1](/ruby/docs/reference/google-cloud-os_config-v1/0.9.1/Google-Cloud-OsConfig-V1-PatchConfig-RebootConfig) \nReference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig.\n\nPost-patch reboot settings.\n\nConstants\n---------\n\n### REBOOT_CONFIG_UNSPECIFIED\n\n**value:** 0 \nThe default behavior is DEFAULT.\n\n### DEFAULT\n\n**value:** 1 \nThe agent decides if a reboot is necessary by checking signals such as\nregistry keys on Windows or `/var/run/reboot-required` on APT based\nsystems. On RPM based systems, a set of core system package install times\nare compared with system boot time.\n\n### ALWAYS\n\n**value:** 2 \nAlways reboot the machine after the update completes.\n\n### NEVER\n\n**value:** 3 \nNever reboot the machine after the update completes."]]