[[["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-08-28 UTC."],[],[],null,["# Google Cloud Network Connectivity V1 Client - Class IPVersion (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.IPVersion)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.IPVersion)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.IPVersion)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.IPVersion)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.IPVersion)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.IPVersion)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.IPVersion)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.IPVersion)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.IPVersion)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.IPVersion) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class IPVersion.\n\nThe requested IP version for the PSC connection.\n\nProtobuf type `google.cloud.networkconnectivity.v1.IPVersion`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### IP_VERSION_UNSPECIFIED\n\n Value: 0\n\nDefault value. We will use IPv4 or IPv6 depending on the IP version of\nfirst available subnetwork.\n\nGenerated from protobuf enum `IP_VERSION_UNSPECIFIED = 0;`\n\n### IPV4\n\n Value: 1\n\nWill use IPv4 only.\n\nGenerated from protobuf enum `IPV4 = 1;`\n\n### IPV6\n\n Value: 2\n\nWill use IPv6 only.\n\nGenerated from protobuf enum `IPV6 = 2;`"]]