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.v1.OSPolicy.Resource.PackageResource.DesiredState
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
DESIRED_STATE_UNSPECIFIED |
Unspecified is invalid. |
DESIRED_STATE_UNSPECIFIED_VALUE |
Unspecified is invalid. |
INSTALLED |
Ensure that the package is installed. |
INSTALLED_VALUE |
Ensure that the package is installed. |
REMOVED |
The agent ensures that the package is not installed and uninstalls it if detected. |
REMOVED_VALUE |
The agent ensures that the package is not installed and uninstalls it if detected. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |