[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Functions V2 Client - Class VpcConnectorEgressSettings (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-functions/latest/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [2.0.5](/php/docs/reference/cloud-functions/2.0.5/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [1.7.0](/php/docs/reference/cloud-functions/1.7.0/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [1.6.5](/php/docs/reference/cloud-functions/1.6.5/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [1.5.0](/php/docs/reference/cloud-functions/1.5.0/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [1.4.2](/php/docs/reference/cloud-functions/1.4.2/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [1.3.1](/php/docs/reference/cloud-functions/1.3.1/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [1.2.0](/php/docs/reference/cloud-functions/1.2.0/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [1.1.2](/php/docs/reference/cloud-functions/1.1.2/V2.ServiceConfig.VpcConnectorEgressSettings)\n- [1.0.3](/php/docs/reference/cloud-functions/1.0.3/V2.ServiceConfig.VpcConnectorEgressSettings) \nReference documentation and code samples for the Google Cloud Functions V2 Client class VpcConnectorEgressSettings.\n\nAvailable egress settings.\n\nThis controls what traffic is diverted through the VPC Access Connector\nresource. By default PRIVATE_RANGES_ONLY will be used.\n\nProtobuf type `google.cloud.functions.v2.ServiceConfig.VpcConnectorEgressSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Functions \\\\ V2 \\\\ ServiceConfig\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\n\n Value: 0\n\nUnspecified.\n\nGenerated from protobuf enum `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = 0;`\n\n### PRIVATE_RANGES_ONLY\n\n Value: 1\n\nUse the VPC Access Connector only for private IP space from RFC1918.\n\nGenerated from protobuf enum `PRIVATE_RANGES_ONLY = 1;`\n\n### ALL_TRAFFIC\n\n Value: 2\n\nForce the use of VPC Access Connector for all egress traffic from the\nfunction.\n\nGenerated from protobuf enum `ALL_TRAFFIC = 2;`"]]