public enum Subnetwork.StackType extends Enum<Subnetwork.StackType> implements ProtocolMessageEnum
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
Protobuf enum google.cloud.compute.v1.Subnetwork.StackType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
IPV4_IPV6 |
New VMs in this subnet can have both IPv4 and IPv6 addresses. |
IPV4_IPV6_VALUE |
New VMs in this subnet can have both IPv4 and IPv6 addresses. |
IPV4_ONLY |
New VMs in this subnet will only be assigned IPv4 addresses. |
IPV4_ONLY_VALUE |
New VMs in this subnet will only be assigned IPv4 addresses. |
IPV6_ONLY |
New VMs in this subnet will only be assigned IPv6 addresses. |
IPV6_ONLY_VALUE |
New VMs in this subnet will only be assigned IPv6 addresses. |
UNDEFINED_STACK_TYPE |
A value indicating that the enum field is not set. |
UNDEFINED_STACK_TYPE_VALUE |
A value indicating that the enum field is not set. |
UNRECOGNIZED |
|
UNSPECIFIED_STACK_TYPE |
|
UNSPECIFIED_STACK_TYPE_VALUE |
|
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |