Generated from protobuf enumREBOOT_CONFIG_UNSPECIFIED = 0;
PBDEFAULT
Value: 1
The agent decides if a reboot is necessary by checking signals such as
registry keys on Windows or/var/run/reboot-requiredon APT based
systems. On RPM based systems, a set of core system package install times
are compared with system boot time.
Generated from protobuf enumDEFAULT = 1;
ALWAYS
Value: 2
Always reboot the machine after the update completes.
Generated from protobuf enumALWAYS = 2;
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-04 UTC."],[],[],null,["# Google Cloud OsConfig V1 Client - Class RebootConfig (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.PatchConfig.RebootConfig)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.PatchConfig.RebootConfig)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.PatchConfig.RebootConfig)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.PatchConfig.RebootConfig)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.PatchConfig.RebootConfig)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.PatchConfig.RebootConfig) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client class RebootConfig.\n\nPost-patch reboot settings.\n\nProtobuf type `google.cloud.osconfig.v1.PatchConfig.RebootConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1 \\\\ PatchConfig\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### REBOOT_CONFIG_UNSPECIFIED\n\n Value: 0\n\nThe default behavior is DEFAULT.\n\nGenerated from protobuf enum `REBOOT_CONFIG_UNSPECIFIED = 0;`\n\n### PBDEFAULT\n\n Value: 1\n\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\nGenerated from protobuf enum `DEFAULT = 1;`\n\n### ALWAYS\n\n Value: 2\n\nAlways reboot the machine after the update completes.\n\nGenerated from protobuf enum `ALWAYS = 2;`\n\n### NEVER\n\n Value: 3\n\nNever reboot the machine after the update completes.\n\nGenerated from protobuf enum `NEVER = 3;`"]]