The stack type for this network interface 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 instance creation and update network interface operations.
[[["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\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.Compute.V1.NetworkInterface.Types.StackType\u003c/code\u003e is 3.6.0, and the page also lists older versions, down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStackType\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace defines the IP addressing capabilities of a network interface.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStackType\u003c/code\u003e can be set during instance creation and when updating network interface settings, determining if IPv6 is enabled.\u003c/p\u003e\n"],["\u003cp\u003eThere are four fields within the enum: \u003ccode\u003eIpv4Ipv6\u003c/code\u003e for dual addressing, \u003ccode\u003eIpv4Only\u003c/code\u003e for IPv4-only, \u003ccode\u003eUndefinedStackType\u003c/code\u003e when not set, and \u003ccode\u003eUnspecifiedStackType\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]