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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["This webpage provides reference documentation for the `NetworkInterface.Types.StackType` enum within the Google Compute Engine v1 API."],["The `NetworkInterface.Types.StackType` enum defines the stack type for a network interface, allowing for either IPv4-only (`Ipv4Only`) or dual IPv4/IPv6 (`Ipv4Ipv6`) addressing."],["The default stack type, if not explicitly set, is `IPV4_ONLY`."],["The documentation covers versions from 1.0.0 up to 3.6.0, with 3.6.0 being the latest version and 2.16.0 being the current version displayed, for the `NetworkInterface.Types.StackType`."],["The `UndefinedStackType` and `UnspecifiedStackType` are also included in the enum description, `UndefinedStackType` indicating the enum field is not set."]]],[]]