Enum CloudFunction.VpcConnectorEgressSettings (2.51.0)

publicenumCloudFunction.VpcConnectorEgressSettingsextendsEnum<CloudFunction.VpcConnectorEgressSettings>implementsProtocolMessageEnum

Available egress settings.

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

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALL_TRAFFIC

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

ALL_TRAFFIC = 2;

ALL_TRAFFIC_VALUE

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

ALL_TRAFFIC = 2;

PRIVATE_RANGES_ONLY

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

PRIVATE_RANGES_ONLY = 1;

PRIVATE_RANGES_ONLY_VALUE

Use the 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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.