public enum LocationPolicyLocation.Preference extends Enum<LocationPolicyLocation.Preference> implements ProtocolMessageEnum
Preference for a given location. Set to either ALLOW or DENY.
Protobuf enum google.cloud.compute.v1.LocationPolicyLocation.Preference
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ALLOW |
Location is allowed for use. |
ALLOW_VALUE |
Location is allowed for use. |
DENY |
Location is prohibited. |
DENY_VALUE |
Location is prohibited. |
PREFERENCE_UNSPECIFIED |
Default value, unused. |
PREFERENCE_UNSPECIFIED_VALUE |
Default value, unused. |
UNDEFINED_PREFERENCE |
A value indicating that the enum field is not set. |
UNDEFINED_PREFERENCE_VALUE |
A value indicating that the enum field is not set. |
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() |