Enum CustomConstraint.ActionType (2.37.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

NameDescription
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

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