Enum CloudFunction.VpcConnectorEgressSettings (2.21.0)

public enum CloudFunction.VpcConnectorEgressSettings extends Enum<CloudFunction.VpcConnectorEgressSettings> implements ProtocolMessageEnum

Available egress settings.

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

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ALL_TRAFFIC

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

ALL_TRAFFIC = 2;

ALL_TRAFFIC_VALUE

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

ALL_TRAFFIC = 2;

PRIVATE_RANGES_ONLY

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

PRIVATE_RANGES_ONLY = 1;

PRIVATE_RANGES_ONLY_VALUE

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

PRIVATE_RANGES_ONLY = 1;

UNRECOGNIZED
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED

Unspecified.

VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = 0;

VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED_VALUE

Unspecified.

VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = 0;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()