Enum OSPolicy.Resource.FileResource.DesiredState

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

Desired state of the file.

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

Implements

ProtocolMessageEnum

Fields

NameDescription
ABSENT

Ensure file at path is absent.

ABSENT = 2;

ABSENT_VALUE

Ensure file at path is absent.

ABSENT = 2;

CONTENTS_MATCH

Ensure the contents of the file at path matches. If the file does not exist it will be created.

CONTENTS_MATCH = 3;

CONTENTS_MATCH_VALUE

Ensure the contents of the file at path matches. If the file does not exist it will be created.

CONTENTS_MATCH = 3;

DESIRED_STATE_UNSPECIFIED

Unspecified is invalid.

DESIRED_STATE_UNSPECIFIED = 0;

DESIRED_STATE_UNSPECIFIED_VALUE

Unspecified is invalid.

DESIRED_STATE_UNSPECIFIED = 0;

PRESENT

Ensure file at path is present.

PRESENT = 1;

PRESENT_VALUE

Ensure file at path is present.

PRESENT = 1;

UNRECOGNIZED

Methods

NameDescription
forNumber(int value)
getDescriptor()
getDescriptorForType()
getNumber()
getValueDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()