Google Cloud Functions V1 Client - Class VpcConnectorEgressSettings (1.5.0)

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

Available egress settings.

This controls what traffic is diverted through the Serverless VPC Access connector resource. By default, PRIVATE_RANGES_ONLY is used.

Protobuf type google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings

Namespace

Google \ Cloud \ Functions \ V1 \ CloudFunction

Methods

static::name

Parameter
NameDescription
value mixed

static::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 Serverless 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 Serverless VPC Access connector for all egress traffic from the function.

Generated from protobuf enum ALL_TRAFFIC = 2;