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 `NetworkInterface.Types.StackType` is 3.6.0, with a full range of previous versions provided, going back to version 1.0.0."],["The `NetworkInterface.Types.StackType` enum in the Compute Engine v1 API defines the stack type for network interfaces, determining whether they use IPv4 only or both IPv4 and IPv6 addresses."],["The enum `NetworkInterface.Types.StackType` includes values for `Ipv4Only`, `Ipv4Ipv6`, and `Ipv6Only`, to specify the desired IP versioning, alongside `UndefinedStackType` and `UnspecifiedStackType` values for managing non set and unspecified fields."],["The default stack type if not otherwise specified is IPV4_ONLY."]]],[]]