Reference documentation and code samples for the Compute Engine v1 API enum NetworkInterface.Types.StackType.
The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is 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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The latest version available for `NetworkInterface.Types.StackType` is 3.6.0, with a full range of previous versions accessible, down to version 1.0.0."],["`NetworkInterface.Types.StackType` is an enum within the Google Compute Engine v1 API, specifically found under the namespace `Google.Cloud.Compute.V1`."],["This enum defines the stack type for a network interface, offering options for IPv4 only (`Ipv4Only`), both IPv4 and IPv6 (`Ipv4Ipv6`), or IPv6 only (`Ipv6Only`)."],["When creating or updating network interfaces, it is possible to set the field for stack type; if unspecified, it defaults to `IPV4_ONLY`."],["There are two undefined values for the enum, `UndefinedStackType`, which means that the enum field is not set, and `UnspecifiedStackType`, which is a blank field."]]],[]]