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-03-24 UTC."],[[["The latest version available for `NetworkInterface.Types.StackType` is 3.6.0, with a list of previous versions available for reference, ranging down to version 1.0.0."],["`NetworkInterface.Types.StackType` is an enum within the Google Cloud Compute Engine v1 API that determines the IP stack type for a network interface."],["The `NetworkInterface.Types.StackType` enum has values including `Ipv4Ipv6` (for both IPv4 and IPv6 addresses) and `Ipv4Only` (for IPv4 addresses only), with the default if unspecified being `IPV4_ONLY`."],["This enum can be configured when creating an instance as well as when updating network interface operations."],["The `UndefinedStackType` enum is used to indicate that the enum field is not set."]]],[]]