Enum Constraint.CustomConstraintDefinition.ActionType (2.62.0)

public enum Constraint.CustomConstraintDefinition.ActionType extends Enum<Constraint.CustomConstraintDefinition.ActionType> implements ProtocolMessageEnum

Allow or deny type.

Protobuf enum google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ActionType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTION_TYPE_UNSPECIFIED

This is only used for distinguishing unset values and should never be used. Results in an error.

ACTION_TYPE_UNSPECIFIED = 0;

ACTION_TYPE_UNSPECIFIED_VALUE

This is only used for distinguishing unset values and should never be used. Results in an error.

ACTION_TYPE_UNSPECIFIED = 0;

ALLOW

Allowed action type.

ALLOW = 1;

ALLOW_VALUE

Allowed action type.

ALLOW = 1;

DENY

Deny action type.

DENY = 2;

DENY_VALUE

Deny action type.

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