Google Cloud Functions V2 Client - Class VpcConnectorEgressSettings (2.0.0)

Reference documentation and code samples for the Google Cloud Functions V2 Client class VpcConnectorEgressSettings.

Available egress settings.

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

Protobuf type google.cloud.functions.v2.ServiceConfig.VpcConnectorEgressSettings

Namespace

Google \ Cloud \ Functions \ V2 \ ServiceConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = 0;

PRIVATE_RANGES_ONLY

Value: 1

Use the VPC Access Connector only for private IP space from RFC1918.

Generated from protobuf enum PRIVATE_RANGES_ONLY = 1;

ALL_TRAFFIC

Value: 2

Force the use of VPC Access Connector for all egress traffic from the function.

Generated from protobuf enum ALL_TRAFFIC = 2;