Enum LocationPolicyLocation.Preference (1.24.0)

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

ProtocolMessageEnum

Static Fields

NameDescription
ALLOW

Location is allowed for use.

ALLOW = 62368553;

ALLOW_VALUE

Location is allowed for use.

ALLOW = 62368553;

DENY

Location is prohibited.

DENY = 2094604;

DENY_VALUE

Location is prohibited.

DENY = 2094604;

PREFERENCE_UNSPECIFIED

Default value, unused.

PREFERENCE_UNSPECIFIED = 496219571;

PREFERENCE_UNSPECIFIED_VALUE

Default value, unused.

PREFERENCE_UNSPECIFIED = 496219571;

UNDEFINED_PREFERENCE

A value indicating that the enum field is not set.

UNDEFINED_PREFERENCE = 0;

UNDEFINED_PREFERENCE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_PREFERENCE = 0;

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