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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ALLOW |
A policy with this set allows all values. |
ALLOW_VALUE |
A policy with this set allows all values. |
ALL_VALUES_UNSPECIFIED |
Indicates that allowed_values or denied_values must be set. |
ALL_VALUES_UNSPECIFIED_VALUE |
Indicates that allowed_values or denied_values must be set. |
DENY |
A policy with this set denies all values. |
DENY_VALUE |
A policy with this set denies all values. |
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() |