The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
[[["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 webpage provides documentation for the \u003ccode\u003eStackType\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, specifically under \u003ccode\u003eGoogle.Cloud.Compute.V1.Subnetwork.Types\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStackType\u003c/code\u003e enum is used to determine whether the IPv6 feature is enabled for a given subnet, defaulting to \u003ccode\u003eIPV4_ONLY\u003c/code\u003e if not specified.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.6.0, while versions ranging from 1.0.0 to 3.6.0 are listed, allowing access to historical versions of the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe enum has four fields: \u003ccode\u003eIpv4Ipv6\u003c/code\u003e, enabling both IPv4 and IPv6 for new VMs, \u003ccode\u003eIpv4Only\u003c/code\u003e, restricting new VMs to IPv4 addresses, \u003ccode\u003eUndefinedStackType\u003c/code\u003e, indicating the field is not set and \u003ccode\u003eUnspecifiedStackType\u003c/code\u003e with no description.\u003c/p\u003e\n"]]],[],null,[]]