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 document provides reference documentation for the `NetworkInterface.Types.StackType` enum within the Google Compute Engine v1 API."],["The latest version of the documentation is 3.6.0, and versions back to 1.0.0 are available."],["The `NetworkInterface.Types.StackType` enum defines the stack type for a network interface, supporting `IPV4_ONLY`, `IPV4_IPV6`, `IPV6_ONLY`, `UndefinedStackType` and `UnspecifiedStackType`."],["The `Ipv4Ipv6` field permits both IPv4 and IPv6 addresses, while `Ipv4Only` will only allow IPv4, and the `Ipv6Only` field will only allow IPv6 addresses on the interface."],["The documentation for this enum is found within the Google.Cloud.Compute.V1 namespace, and Google.Cloud.Compute.V1.dll assembly."]]],[]]