Enum GuestPolicies.DesiredState (2.5.0)

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

Static 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;

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