Enum Subnetwork.StackType (1.6.0-beta)

public enum Subnetwork.StackType extends Enum<Subnetwork.StackType> implements ProtocolMessageEnum

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.

Protobuf enum google.cloud.compute.v1.Subnetwork.StackType

Implements

ProtocolMessageEnum

Fields

NameDescription
IPV4_IPV6

New VMs in this subnet can have both IPv4 and IPv6 addresses.

IPV4_IPV6 = 22197249;

IPV4_IPV6_VALUE

New VMs in this subnet can have both IPv4 and IPv6 addresses.

IPV4_IPV6 = 22197249;

IPV4_ONLY

New VMs in this subnet will only be assigned IPv4 addresses.

IPV4_ONLY = 22373798;

IPV4_ONLY_VALUE

New VMs in this subnet will only be assigned IPv4 addresses.

IPV4_ONLY = 22373798;

UNDEFINED_STACK_TYPE

A value indicating that the enum field is not set.

UNDEFINED_STACK_TYPE = 0;

UNDEFINED_STACK_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_STACK_TYPE = 0;

UNRECOGNIZED
UNSPECIFIED_STACK_TYPE

UNSPECIFIED_STACK_TYPE = 298084569;

UNSPECIFIED_STACK_TYPE_VALUE

UNSPECIFIED_STACK_TYPE = 298084569;

Methods

NameDescription
forNumber(int value)
getDescriptor()
getDescriptorForType()
getNumber()
getValueDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()