Enum OSPolicy.Resource.PackageResource.DesiredState (2.26.0)

public enum OSPolicy.Resource.PackageResource.DesiredState extends Enum<OSPolicy.Resource.PackageResource.DesiredState> implements ProtocolMessageEnum

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

Protobuf enum google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DESIRED_STATE_UNSPECIFIED

Unspecified is invalid.

DESIRED_STATE_UNSPECIFIED = 0;

DESIRED_STATE_UNSPECIFIED_VALUE

Unspecified is invalid.

DESIRED_STATE_UNSPECIFIED = 0;

INSTALLED

Ensure that the package is installed.

INSTALLED = 1;

INSTALLED_VALUE

Ensure that the package is installed.

INSTALLED = 1;

REMOVED

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

REMOVED = 2;

REMOVED_VALUE

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

REMOVED = 2;

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