[[["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-09-04 UTC."],[],[],null,["# Google Cloud Network Services V1 Client - Class IpVersion (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-networkservices/latest/V1.Gateway.IpVersion)\n- [0.6.0](/php/docs/reference/cloud-networkservices/0.6.0/V1.Gateway.IpVersion)\n- [0.5.0](/php/docs/reference/cloud-networkservices/0.5.0/V1.Gateway.IpVersion)\n- [0.4.0](/php/docs/reference/cloud-networkservices/0.4.0/V1.Gateway.IpVersion)\n- [0.3.0](/php/docs/reference/cloud-networkservices/0.3.0/V1.Gateway.IpVersion)\n- [0.2.3](/php/docs/reference/cloud-networkservices/0.2.3/V1.Gateway.IpVersion)\n- [0.1.1](/php/docs/reference/cloud-networkservices/0.1.1/V1.Gateway.IpVersion) \nReference documentation and code samples for the Google Cloud Network Services V1 Client class IpVersion.\n\nThe types of IP version for the gateway.\n\nPossible values are:\n\n- IPV4\n- IPV6\n\nProtobuf type `google.cloud.networkservices.v1.Gateway.IpVersion`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkServices \\\\ V1 \\\\ Gateway\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### IP_VERSION_UNSPECIFIED\n\n Value: 0\n\nThe type when IP version is not specified. Defaults to IPV4.\n\nGenerated from protobuf enum `IP_VERSION_UNSPECIFIED = 0;`\n\n### IPV4\n\n Value: 1\n\nThe type for IP version 4.\n\nGenerated from protobuf enum `IPV4 = 1;`\n\n### IPV6\n\n Value: 2\n\nThe type for IP version 6.\n\nGenerated from protobuf enum `IPV6 = 2;`"]]