Reference 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["The latest version available for the `Google.Cloud.Compute.V1.NetworkInterface.Types.StackType` is 3.6.0."],["This documentation covers versions of the `StackType` enum ranging from 1.0.0 up to 3.6.0, with a total of 30 versions available."],["The `StackType` enum allows you to specify whether a network interface should have IPv4 addresses only, both IPv4 and IPv6 addresses, or only IPv6 addresses."],["By default, if the `StackType` is not specified, the network interface is assigned only IPv4 addresses."],["The different fields of the enum `StackType` are: `Ipv4Ipv6`, `Ipv4Only`, `Ipv6Only`, `UndefinedStackType`, `UnspecifiedStackType`, and it is contained within the `Google.Cloud.Compute.V1` namespace."]]],[]]