Enum Constraint.ConstraintDefault (2.52.0)

public enum Constraint.ConstraintDefault extends Enum<Constraint.ConstraintDefault> implements ProtocolMessageEnum

Specifies the default behavior in the absence of any policy for the constraint. This must not be CONSTRAINT_DEFAULT_UNSPECIFIED.

Immutable after creation.

Protobuf enum google.cloud.orgpolicy.v2.Constraint.ConstraintDefault

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALLOW

Indicate that all values are allowed for list constraints. Indicate that enforcement is off for boolean constraints.

ALLOW = 1;

ALLOW_VALUE

Indicate that all values are allowed for list constraints. Indicate that enforcement is off for boolean constraints.

ALLOW = 1;

CONSTRAINT_DEFAULT_UNSPECIFIED

This is only used for distinguishing unset values and should never be used.

CONSTRAINT_DEFAULT_UNSPECIFIED = 0;

CONSTRAINT_DEFAULT_UNSPECIFIED_VALUE

This is only used for distinguishing unset values and should never be used.

CONSTRAINT_DEFAULT_UNSPECIFIED = 0;

DENY

Indicate that all values are denied for list constraints. Indicate that enforcement is on for boolean constraints.

DENY = 2;

DENY_VALUE

Indicate that all values are denied for list constraints. Indicate that enforcement is on for boolean constraints.

DENY = 2;

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