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
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
DESIRED_STATE_UNSPECIFIED | The default is to ensure the package is installed. |
DESIRED_STATE_UNSPECIFIED_VALUE | The default is to ensure the package is installed. |
INSTALLED | The agent ensures that the package is installed. |
INSTALLED_VALUE | The agent ensures that the package is installed. |
REMOVED | The agent ensures that the package is not installed and uninstall it if detected. |
REMOVED_VALUE | The agent ensures that the package is not installed and uninstall it if detected. |
UNRECOGNIZED | |
UPDATED | The agent ensures that the package is installed and periodically checks for and install any updates. |
UPDATED_VALUE | The agent ensures that the package is installed and periodically checks for and install any updates. |
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() |