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 version-specific documentation for the \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, with the latest version being 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e enum defines the supported IP protocols for a VPN gateway, with possible values including \u003ccode\u003eIPV4_ONLY\u003c/code\u003e, \u003ccode\u003eIPV4_IPV6\u003c/code\u003e, and \u003ccode\u003eIPV6_ONLY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a comprehensive list of versions, ranging from 1.0.0 to the latest 3.6.0, each linking to the respective version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe enum also contains a \u003ccode\u003eUndefinedStackType\u003c/code\u003e field to show that the enum field is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe default stack type is \u003ccode\u003eIPV4_ONLY\u003c/code\u003e unless the gateway IP version is \u003ccode\u003eIPV6\u003c/code\u003e, in which case the default is \u003ccode\u003eIPV4_IPV6\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]