Enum NetworkPeering.StackType (1.22.0)

public enum NetworkPeering.StackType extends Enum<NetworkPeering.StackType> implements ProtocolMessageEnum

Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
IPV4_IPV6

This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well.

IPV4_IPV6 = 22197249;

IPV4_IPV6_VALUE

This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well.

IPV4_IPV6 = 22197249;

IPV4_ONLY

This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6.

IPV4_ONLY = 22373798;

IPV4_ONLY_VALUE

This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6.

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