# Cloud Functions v1 API - Enum CloudFunction.Types.VpcConnectorEgressSettings (2.8.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.8.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/latest/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/2.7.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/2.6.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/2.5.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/2.4.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/2.3.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/2.2.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/2.1.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/2.0.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/1.3.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/1.2.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/1.1.0/Google.Cloud.Functions.V1.CloudFunction.Types.VpcConnectorEgressSettings)

    public enum CloudFunction.Types.VpcConnectorEgressSettings

Reference documentation and code samples for the Cloud Functions v1 API enum CloudFunction.Types.VpcConnectorEgressSettings.

Available egress settings.

This controls what traffic is diverted through the VPC Access Connector
resource. By default PRIVATE_RANGES_ONLY will be used.

## Namespace

[Google.Cloud.Functions.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V1/latest/Google.Cloud.Functions.V1)

## Assembly

Google.Cloud.Functions.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `AllTraffic` | Force the use of VPC Access Connector for all egress traffic from the function. |
| `PrivateRangesOnly` | Use the VPC Access Connector only for private IP space from RFC1918. |
| `Unspecified` | Unspecified. |