Reference documentation and code samples for the Compute Engine v1 API enum Subnetwork.Types.StackType.
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
[[["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-04-09 UTC."],[[["This webpage provides reference documentation for the `Subnetwork.Types.StackType` enum within the Google Cloud Compute Engine v1 API."],["The latest version of the documentation available is 3.6.0, while the current page focuses on version 3.5.0, with versions ranging from 1.0.0 to 3.6.0."],["The `Subnetwork.Types.StackType` enum defines the stack type for subnets, with options including `Ipv4Only`, `Ipv4Ipv6`, `Ipv6Only`, `UndefinedStackType`, and `UnspecifiedStackType`."],["The enum specifies whether new VMs in a subnet will have only IPv4 addresses, both IPv4 and IPv6 addresses, or only IPv6 addresses, with `Ipv4Only` being the default if not specified."],["The documentation is part of the `Google.Cloud.Compute.V1` namespace and is contained in the `Google.Cloud.Compute.V1.dll` assembly."]]],[]]