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\u003eThis page provides versioned documentation for the \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.6.0, but it also includes a list of previous versions, all the way down to version 1.0.0, allowing you to view changes across versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e defines the possible IP protocols enabled for a VPN gateway, which include \u003ccode\u003eIpv4Only\u003c/code\u003e, \u003ccode\u003eIpv6Only\u003c/code\u003e, and \u003ccode\u003eIpv4Ipv6\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe default stack type for the gateway is \u003ccode\u003eIPV4_ONLY\u003c/code\u003e, unless the gateway IP is IPV6, then the default becomes \u003ccode\u003eIPV4_IPV6\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]