public static enum ServiceConfig.IngressSettings extends Enum<ServiceConfig.IngressSettings> implements com.google.protobuf.ProtocolMessageEnum
Available ingress settings. This controls what traffic can reach the function. If unspecified, ALLOW_ALL will be used.Protobuf enum
google.cloud.functions.v2beta.ServiceConfig.IngressSettings| Enum Constant and Description |
|---|
ALLOW_ALL
Allow HTTP traffic from public and private sources.
|
ALLOW_INTERNAL_AND_GCLB
Allow HTTP traffic from private VPC sources and through GCLB.
|
ALLOW_INTERNAL_ONLY
Allow HTTP traffic from only private VPC sources.
|
INGRESS_SETTINGS_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_ALL_VALUE
Allow HTTP traffic from public and private sources.
|
static int |
ALLOW_INTERNAL_AND_GCLB_VALUE
Allow HTTP traffic from private VPC sources and through GCLB.
|
static int |
ALLOW_INTERNAL_ONLY_VALUE
Allow HTTP traffic from only private VPC sources.
|
static int |
INGRESS_SETTINGS_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceConfig.IngressSettings |
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<ServiceConfig.IngressSettings> |
internalGetValueMap() |
static ServiceConfig.IngressSettings |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ServiceConfig.IngressSettings |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServiceConfig.IngressSettings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceConfig.IngressSettings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceConfig.IngressSettings INGRESS_SETTINGS_UNSPECIFIED
Unspecified.
INGRESS_SETTINGS_UNSPECIFIED = 0;public static final ServiceConfig.IngressSettings ALLOW_ALL
Allow HTTP traffic from public and private sources.
ALLOW_ALL = 1;public static final ServiceConfig.IngressSettings ALLOW_INTERNAL_ONLY
Allow HTTP traffic from only private VPC sources.
ALLOW_INTERNAL_ONLY = 2;public static final ServiceConfig.IngressSettings ALLOW_INTERNAL_AND_GCLB
Allow HTTP traffic from private VPC sources and through GCLB.
ALLOW_INTERNAL_AND_GCLB = 3;public static final ServiceConfig.IngressSettings UNRECOGNIZED
public static final int INGRESS_SETTINGS_UNSPECIFIED_VALUE
Unspecified.
INGRESS_SETTINGS_UNSPECIFIED = 0;public static final int ALLOW_ALL_VALUE
Allow HTTP traffic from public and private sources.
ALLOW_ALL = 1;public static final int ALLOW_INTERNAL_ONLY_VALUE
Allow HTTP traffic from only private VPC sources.
ALLOW_INTERNAL_ONLY = 2;public static final int ALLOW_INTERNAL_AND_GCLB_VALUE
Allow HTTP traffic from private VPC sources and through GCLB.
ALLOW_INTERNAL_AND_GCLB = 3;public static ServiceConfig.IngressSettings[] values()
for (ServiceConfig.IngressSettings c : ServiceConfig.IngressSettings.values()) System.out.println(c);
public static ServiceConfig.IngressSettings 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 ServiceConfig.IngressSettings valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ServiceConfig.IngressSettings forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ServiceConfig.IngressSettings> 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 ServiceConfig.IngressSettings valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.