public enum OSPolicy.Resource.FileResource.DesiredState extends Enum<OSPolicy.Resource.FileResource.DesiredState> implements ProtocolMessageEnum
Desired state of the file.
Protobuf enum google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ABSENT |
Ensure file at path is absent. |
ABSENT_VALUE |
Ensure file at path is absent. |
CONTENTS_MATCH |
Ensure the contents of the file at path matches. If the file does not exist it will be created. |
CONTENTS_MATCH_VALUE |
Ensure the contents of the file at path matches. If the file does not exist it will be created. |
DESIRED_STATE_UNSPECIFIED |
Unspecified is invalid. |
DESIRED_STATE_UNSPECIFIED_VALUE |
Unspecified is invalid. |
PRESENT |
Ensure file at path is present. |
PRESENT_VALUE |
Ensure file at path is present. |
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() |