Google Cloud Network Connectivity V1 Client - Class IPVersion (2.2.0)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class IPVersion.

The requested IP version for the PSC connection.

Protobuf type google.cloud.networkconnectivity.v1.IPVersion

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

IP_VERSION_UNSPECIFIED

Value: 0

Default value. We will use IPv4 or IPv6 depending on the IP version of first available subnetwork.

Generated from protobuf enum IP_VERSION_UNSPECIFIED = 0;

IPV4

Value: 1

Will use IPv4 only.

Generated from protobuf enum IPV4 = 1;

IPV6

Value: 2

Will use IPv6 only.

Generated from protobuf enum IPV6 = 2;