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 Cloud Compute Engine v1 API."],["The `StackType` enum defines the types of IP addresses that can be assigned to a network interface, with options for `IPV4_ONLY` or `IPV4_IPV6`."],["The latest version of the `NetworkInterface.Types.StackType` documentation is 3.6.0, while this specific page is on version 2.15.0, with access to many earlier versions and their documentation."],["The page offers descriptions for each enum field: `Ipv4Ipv6`, `Ipv4Only`, `UndefinedStackType`, and `UnspecifiedStackType`, within the `Google.Cloud.Compute.V1` namespace."]]],[]]