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.
Enums
Name
Description
UNDEFINED_STACK_TYPE
A value indicating that the enum field is not set.
IPV4_IPV6
Enable VPN gateway with both IPv4 and IPv6 protocols.
[[["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-28 UTC."],[],[],null,["# Class StackType (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.VpnGateway.StackType)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.VpnGateway.StackType) \n\n StackType(value)\n\nThe stack type for this VPN gateway to identify the IP protocols\nthat are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6,\nIPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP\nversion is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6."]]