Enum OSPolicy.Mode (2.22.0)

public enum OSPolicy.Mode extends Enum<OSPolicy.Mode> implements ProtocolMessageEnum

Policy mode

Protobuf enum google.cloud.osconfig.v1alpha.OSPolicy.Mode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ENFORCEMENT

This mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.

ENFORCEMENT = 2;

ENFORCEMENT_VALUE

This mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.

ENFORCEMENT = 2;

MODE_UNSPECIFIED

Invalid mode

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

Invalid mode

MODE_UNSPECIFIED = 0;

UNRECOGNIZED
VALIDATION

This mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.

VALIDATION = 1;

VALIDATION_VALUE

This mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.

VALIDATION = 1;

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