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"]],[["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-07 UTC."],[],[]]