Enum VpnGateway.StackType (1.29.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. If not specified, IPV4_ONLY will be used.

Protobuf enum google.cloud.compute.v1.VpnGateway.StackType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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;

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

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