Enum GuestPolicies.DesiredState

public enum GuestPolicies.DesiredState extends Enum<GuestPolicies.DesiredState> implements ProtocolMessageEnum

The desired state that the OS Config agent maintains on the VM instance.

Protobuf enum google.cloud.osconfig.v1beta.DesiredState

Implements

ProtocolMessageEnum

Fields

NameDescription
DESIRED_STATE_UNSPECIFIED

The default is to ensure the package is installed.

DESIRED_STATE_UNSPECIFIED = 0;

DESIRED_STATE_UNSPECIFIED_VALUE

The default is to ensure the package is installed.

DESIRED_STATE_UNSPECIFIED = 0;

INSTALLED

The agent ensures that the package is installed.

INSTALLED = 1;

INSTALLED_VALUE

The agent ensures that the package is installed.

INSTALLED = 1;

REMOVED

The agent ensures that the package is not installed and uninstall it if detected.

REMOVED = 3;

REMOVED_VALUE

The agent ensures that the package is not installed and uninstall it if detected.

REMOVED = 3;

UNRECOGNIZED
UPDATED

The agent ensures that the package is installed and periodically checks for and install any updates.

UPDATED = 2;

UPDATED_VALUE

The agent ensures that the package is installed and periodically checks for and install any updates.

UPDATED = 2;

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()