Enum CustomConstraint.ActionType (2.44.0)

public enum CustomConstraint.ActionType extends Enum<CustomConstraint.ActionType> implements ProtocolMessageEnum

Allow or deny type.

Protobuf enum google.cloud.orgpolicy.v2.CustomConstraint.ActionType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTION_TYPE_UNSPECIFIED

Unspecified. Results in an error.

ACTION_TYPE_UNSPECIFIED = 0;

ACTION_TYPE_UNSPECIFIED_VALUE

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