Enum PatchJobs.PatchConfig.RebootConfig (2.31.0)

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

Post-patch reboot settings.

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

Implements

ProtocolMessageEnum

Static 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

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()