Enum PatchJobs.PatchConfig.RebootConfig

public enum PatchJobs.PatchConfig.RebootConfig extends Enum<PatchJobs.PatchConfig.RebootConfig> implements ProtocolMessageEnum

Post-patch reboot settings.

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

Implements

ProtocolMessageEnum

Fields

NameDescription
ALWAYS

Always reboot the machine after the update completes.

ALWAYS = 2;

ALWAYS_VALUE

Always reboot the machine after the update completes.

ALWAYS = 2;

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.

DEFAULT = 1;

DEFAULT_VALUE

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.

DEFAULT = 1;

NEVER

Never reboot the machine after the update completes.

NEVER = 3;

NEVER_VALUE

Never reboot the machine after the update completes.

NEVER = 3;

REBOOT_CONFIG_UNSPECIFIED

The default behavior is DEFAULT.

REBOOT_CONFIG_UNSPECIFIED = 0;

REBOOT_CONFIG_UNSPECIFIED_VALUE

The default behavior is DEFAULT.

REBOOT_CONFIG_UNSPECIFIED = 0;

UNRECOGNIZED

Methods

NameDescription
forNumber(int value)
getDescriptor()
getDescriptorForType()
getNumber()
getValueDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()