Reference documentation and code samples for the Compute Engine v1 API enum VpnGateway.Types.StackType.
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.
[[["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."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e is 3.6.0, which is part of the Google.Cloud.Compute.V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis document lists multiple historical versions of \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e, going back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e is an enum that defines the IP protocol capabilities of a VPN gateway, including options for IPv4 only, IPv6 only, or both IPv4 and IPv6, as well as a special enum to indicate that no value has been assigned.\u003c/p\u003e\n"],["\u003cp\u003eThe default stack type for a VPN gateway is IPV4_ONLY unless the gateway's IP version is IPV6, in which case it is IPV4_IPV6.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e enum is located in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]