public enum NetworkInterface.Types.StackTypeReference documentation and code samples for the Compute Engine v1 API enum NetworkInterface.Types.StackType.
The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
| Fields | |
|---|---|
| Name | Description | 
| Ipv4Ipv6 | The network interface can have both IPv4 and IPv6 addresses. | 
| Ipv4Only | The network interface will only be assigned IPv4 addresses. | 
| Ipv6Only | The network interface will only be assigned IPv6 addresses. | 
| UndefinedStackType | A value indicating that the enum field is not set. | 
| UnspecifiedStackType | |