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."],[[["The latest version available for `NetworkInterface.Types.StackType` is 3.6.0, with a history of versions going back to 1.0.0."],["`NetworkInterface.Types.StackType` is an enum within the Compute Engine v1 API, specifically part of the `Google.Cloud.Compute.V1` namespace."],["This enum defines the stack type for a network interface, allowing options for `IPV4_ONLY` or `IPV4_IPV6` address assignments, with `IPV4_ONLY` being the default if not specified."],["The `NetworkInterface.Types.StackType` enum includes fields such as `Ipv4Ipv6`, `Ipv4Only`, `UndefinedStackType`, and `UnspecifiedStackType`, each with specific meanings related to IP address assignments."]]],[]]