Google Cloud OsConfig V1 Client - Class RebootConfig (2.0.0)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class RebootConfig.

Post-patch reboot settings.

Protobuf type google.cloud.osconfig.v1.PatchConfig.RebootConfig

Namespace

Google \ Cloud \ OsConfig \ V1 \ PatchConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

REBOOT_CONFIG_UNSPECIFIED

Value: 0

The default behavior is DEFAULT.

Generated from protobuf enum REBOOT_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-required on APT based systems. On RPM based systems, a set of core system package install times are compared with system boot time.

Generated from protobuf enum DEFAULT = 1;

ALWAYS

Value: 2

Always reboot the machine after the update completes.

Generated from protobuf enum ALWAYS = 2;

NEVER

Value: 3

Never reboot the machine after the update completes.

Generated from protobuf enum NEVER = 3;