public static enum CloudFunction.VpcConnectorEgressSettings extends Enum<CloudFunction.VpcConnectorEgressSettings> implements com.google.protobuf.ProtocolMessageEnum
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| Enum Constant and Description |
|---|
ALL_TRAFFIC
Force the use of VPC Access Connector for all egress traffic from the
function.
|
PRIVATE_RANGES_ONLY
Use the VPC Access Connector only for private IP space from RFC1918.
|
UNRECOGNIZED |
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
Unspecified.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_TRAFFIC_VALUE
Force the use of VPC Access Connector for all egress traffic from the
function.
|
static int |
PRIVATE_RANGES_ONLY_VALUE
Use the VPC Access Connector only for private IP space from RFC1918.
|
static int |
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static CloudFunction.VpcConnectorEgressSettings |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<CloudFunction.VpcConnectorEgressSettings> |
internalGetValueMap() |
static CloudFunction.VpcConnectorEgressSettings |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CloudFunction.VpcConnectorEgressSettings |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CloudFunction.VpcConnectorEgressSettings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudFunction.VpcConnectorEgressSettings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudFunction.VpcConnectorEgressSettings VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
Unspecified.
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = 0;public static final CloudFunction.VpcConnectorEgressSettings PRIVATE_RANGES_ONLY
Use the VPC Access Connector only for private IP space from RFC1918.
PRIVATE_RANGES_ONLY = 1;public static final CloudFunction.VpcConnectorEgressSettings ALL_TRAFFIC
Force the use of VPC Access Connector for all egress traffic from the function.
ALL_TRAFFIC = 2;public static final CloudFunction.VpcConnectorEgressSettings UNRECOGNIZED
public static final int VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED_VALUE
Unspecified.
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = 0;public static final int PRIVATE_RANGES_ONLY_VALUE
Use the VPC Access Connector only for private IP space from RFC1918.
PRIVATE_RANGES_ONLY = 1;public static final int ALL_TRAFFIC_VALUE
Force the use of VPC Access Connector for all egress traffic from the function.
ALL_TRAFFIC = 2;public static CloudFunction.VpcConnectorEgressSettings[] values()
for (CloudFunction.VpcConnectorEgressSettings c : CloudFunction.VpcConnectorEgressSettings.values()) System.out.println(c);
public static CloudFunction.VpcConnectorEgressSettings valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static CloudFunction.VpcConnectorEgressSettings valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CloudFunction.VpcConnectorEgressSettings forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CloudFunction.VpcConnectorEgressSettings> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CloudFunction.VpcConnectorEgressSettings valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.