Enum OSPolicy.Resource.FileResource.DesiredState (2.5.2)

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

ProtocolMessageEnum

Static 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

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