Google Cloud Functions V2 Client - Class VpcConnectorEgressSettings (1.1.2)

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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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;