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."],[[["This webpage provides reference documentation for the `NetworkInterface.Types.StackType` enum within the Google Cloud Compute Engine v1 API."],["The `StackType` enum defines whether a network interface can have both IPv4 and IPv6 addresses (`Ipv4Ipv6`) or only IPv4 addresses (`Ipv4Only`)."],["The latest version of the documentation available is version 3.6.0, with versions ranging down to 1.0.0 accessible from the provided list."],["The `UndefinedStackType` enum value indicates that the enum field is not set, and `UnspecifiedStackType` is also listed as a possible value."],["The default `StackType` setting is `IPV4_ONLY` if no type is specifically chosen, and this can be set when creating or updating a network interface."]]],[]]