public enum VpnGateway.StackType extends Enum<VpnGateway.StackType> implements ProtocolMessageEnum
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.
Protobuf enum google.cloud.compute.v1.VpnGateway.StackType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
IPV4_IPV6 |
Enable VPN gateway with both IPv4 and IPv6 protocols. |
IPV4_IPV6_VALUE |
Enable VPN gateway with both IPv4 and IPv6 protocols. |
IPV4_ONLY |
Enable VPN gateway with only IPv4 protocol. |
IPV4_ONLY_VALUE |
Enable VPN gateway with only IPv4 protocol. |
IPV6_ONLY |
Enable VPN gateway with only IPv6 protocol. |
IPV6_ONLY_VALUE |
Enable VPN gateway with only IPv6 protocol. |
UNDEFINED_STACK_TYPE |
A value indicating that the enum field is not set. |
UNDEFINED_STACK_TYPE_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() |