Compute V1 Client - Class StackType (2.0.0)

Reference documentation and code samples for the Compute V1 Client class StackType.

The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.

Protobuf type google.cloud.compute.v1.VpnGateway.StackType

Namespace

Google \ Cloud \ Compute \ V1 \ VpnGateway

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_STACK_TYPE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_STACK_TYPE = 0;

IPV4_IPV6

Value: 22197249

Enable VPN gateway with both IPv4 and IPv6 protocols.

Generated from protobuf enum IPV4_IPV6 = 22197249;

IPV4_ONLY

Value: 22373798

Enable VPN gateway with only IPv4 protocol.

Generated from protobuf enum IPV4_ONLY = 22373798;

IPV6_ONLY

Value: 79632100

Enable VPN gateway with only IPv6 protocol.

Generated from protobuf enum IPV6_ONLY = 79632100;