Reference documentation and code samples for the Cloud Functions V2 API module Google::Cloud::Functions::V2::ServiceConfig::VpcConnectorEgressSettings.
Available egress settings.
This controls what traffic is diverted through the VPC Access Connector
resource. By default PRIVATE_RANGES_ONLY will be used.
Constants
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
value: 0 Unspecified.
PRIVATE_RANGES_ONLY
value: 1 Use the VPC Access Connector only for private IP space from RFC1918.
ALL_TRAFFIC
value: 2 Force the use of VPC Access Connector for all egress traffic from the
function.
[[["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-09 UTC."],[],[],null,["# Cloud Functions V2 API - Module Google::Cloud::Functions::V2::ServiceConfig::VpcConnectorEgressSettings (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [1.0.2](/ruby/docs/reference/google-cloud-functions-v2/1.0.2/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.10.0](/ruby/docs/reference/google-cloud-functions-v2/0.10.0/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.9.0](/ruby/docs/reference/google-cloud-functions-v2/0.9.0/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.8.1](/ruby/docs/reference/google-cloud-functions-v2/0.8.1/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.7.0](/ruby/docs/reference/google-cloud-functions-v2/0.7.0/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.6.2](/ruby/docs/reference/google-cloud-functions-v2/0.6.2/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.5.0](/ruby/docs/reference/google-cloud-functions-v2/0.5.0/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.4.1](/ruby/docs/reference/google-cloud-functions-v2/0.4.1/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.3.0](/ruby/docs/reference/google-cloud-functions-v2/0.3.0/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.2.0](/ruby/docs/reference/google-cloud-functions-v2/0.2.0/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings)\n- [0.1.0](/ruby/docs/reference/google-cloud-functions-v2/0.1.0/Google-Cloud-Functions-V2-ServiceConfig-VpcConnectorEgressSettings) \nReference documentation and code samples for the Cloud Functions V2 API module Google::Cloud::Functions::V2::ServiceConfig::VpcConnectorEgressSettings.\n\nAvailable egress settings.\n\n\n\u003cbr /\u003e\n\nThis controls what traffic is diverted through the VPC Access Connector\nresource. By default PRIVATE_RANGES_ONLY will be used.\n\nConstants\n---------\n\n### VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\n\n**value:** 0 \nUnspecified.\n\n### PRIVATE_RANGES_ONLY\n\n**value:** 1 \nUse the VPC Access Connector only for private IP space from RFC1918.\n\n### ALL_TRAFFIC\n\n**value:** 2 \nForce the use of VPC Access Connector for all egress traffic from the\nfunction."]]