Enum Policy.ListPolicy.AllValues (2.11.0)

public enum Policy.ListPolicy.AllValues extends Enum<Policy.ListPolicy.AllValues> implements ProtocolMessageEnum

This enum can be used to set Policies that apply to all possible configuration values rather than specific values in allowed_values or denied_values. Settting this to ALLOW will mean this Policy allows all values. Similarly, setting it to DENY will mean no values are allowed. If set to either ALLOW or DENY, allowed_values and denied_values must be unset. Setting this to ALL_VALUES_UNSPECIFIED allows for setting allowed_values and denied_values`.

Protobuf enum google.cloud.orgpolicy.v1.Policy.ListPolicy.AllValues

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ALLOW

A policy with this set allows all values.

ALLOW = 1;

ALLOW_VALUE

A policy with this set allows all values.

ALLOW = 1;

ALL_VALUES_UNSPECIFIED

Indicates that allowed_values or denied_values must be set.

ALL_VALUES_UNSPECIFIED = 0;

ALL_VALUES_UNSPECIFIED_VALUE

Indicates that allowed_values or denied_values must be set.

ALL_VALUES_UNSPECIFIED = 0;

DENY

A policy with this set denies all values.

DENY = 2;

DENY_VALUE

A policy with this set denies all values.

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