public enum NetworkPeering.StackType extends Enum<NetworkPeering.StackType> implements ProtocolMessageEnumWhich 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
ProtocolMessageEnumStatic Fields
| Name | Description |
| 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_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_ONLY | This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6. |
| IPV4_ONLY_VALUE | This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6. |
| 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() |