# Cloud Functions v2beta API - Enum ServiceConfig.Types.VpcConnectorEgressSettings (1.0.0-beta08)

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

- [1.0.0-beta08 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta.ServiceConfig.Types.VpcConnectorEgressSettings)
- [1.0.0-beta07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/1.0.0-beta07/Google.Cloud.Functions.V2Beta.ServiceConfig.Types.VpcConnectorEgressSettings)

    public enum ServiceConfig.Types.VpcConnectorEgressSettings

Reference documentation and code samples for the Cloud Functions v2beta API enum ServiceConfig.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.V2Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2Beta/latest/Google.Cloud.Functions.V2Beta)

## Assembly

Google.Cloud.Functions.V2Beta.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. |