Enum VpnGateway.StackType (1.64.0)

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

ProtocolMessageEnum

Static Fields

Name Description
IPV4_IPV6

Enable VPN gateway with both IPv4 and IPv6 protocols.

IPV4_IPV6 = 22197249;

IPV4_IPV6_VALUE

Enable VPN gateway with both IPv4 and IPv6 protocols.

IPV4_IPV6 = 22197249;

IPV4_ONLY

Enable VPN gateway with only IPv4 protocol.

IPV4_ONLY = 22373798;

IPV4_ONLY_VALUE

Enable VPN gateway with only IPv4 protocol.

IPV4_ONLY = 22373798;

IPV6_ONLY

Enable VPN gateway with only IPv6 protocol.

IPV6_ONLY = 79632100;

IPV6_ONLY_VALUE

Enable VPN gateway with only IPv6 protocol.

IPV6_ONLY = 79632100;

UNDEFINED_STACK_TYPE

A value indicating that the enum field is not set.

UNDEFINED_STACK_TYPE = 0;

UNDEFINED_STACK_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_STACK_TYPE = 0;

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