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 reference documentation for the \u003ccode\u003eVpnGateway.Types.StackType\u003c/code\u003e enum within the Google.Cloud.Compute.V1 API, detailing its usage in configuring VPN gateway IP protocols.\u003c/p\u003e\n"],["\u003cp\u003eThe available \u003ccode\u003eStackType\u003c/code\u003e enum values are \u003ccode\u003eIpv4Ipv6\u003c/code\u003e, \u003ccode\u003eIpv4Only\u003c/code\u003e, \u003ccode\u003eIpv6Only\u003c/code\u003e, and \u003ccode\u003eUndefinedStackType\u003c/code\u003e, which dictate the supported IP protocols for the VPN gateway.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to various versions of the Google.Cloud.Compute.V1 library, ranging from version 1.0.0 to the latest version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe default behavior of the \u003ccode\u003eStackType\u003c/code\u003e is to use \u003ccode\u003eIPV4_ONLY\u003c/code\u003e if the gateway IP version is \u003ccode\u003eIPV4\u003c/code\u003e, or \u003ccode\u003eIPV4_IPV6\u003c/code\u003e if the gateway IP version is \u003ccode\u003eIPV6\u003c/code\u003e, if no specific \u003ccode\u003eStackType\u003c/code\u003e is defined.\u003c/p\u003e\n"]]],[],null,[]]