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 documentation for the \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, detailing different IP protocol stack types.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.6.0, and the page includes a comprehensive list of past versions going back to 1.0.0 for the \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e enum supports \u003ccode\u003eIpv4Only\u003c/code\u003e, \u003ccode\u003eIpv6Only\u003c/code\u003e, and \u003ccode\u003eIpv4Ipv6\u003c/code\u003e values to define the IP protocols enabled for a VPN gateway, with a default of \u003ccode\u003eIPV4_ONLY\u003c/code\u003e unless using IPV6, which uses a default of \u003ccode\u003eIPV4_IPV6\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedStackType\u003c/code\u003e is included as a field to indicate when the enum value is not set.\u003c/p\u003e\n"]]],[],null,[]]