# Cloud Functions V1 API - Module Google::Cloud::Functions::V1::CloudFunction::VpcConnectorEgressSettings (v2.6.0)

2.6.0 (latest) 2.5.1 2.4.0 2.3.1 2.2.0 2.1.0 2.0.2 1.3.0 1.2.0 1.1.1 1.0.0 0.15.0 0.14.1 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.1 Reference documentation and code samples for the Cloud Functions V1 API module Google::Cloud::Functions::V1::CloudFunction::VpcConnectorEgressSettings.

Available egress settings.


<br />

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.