public static enum SecurityPolicy.Type extends Enum<SecurityPolicy.Type> implements com.google.protobuf.ProtocolMessageEnum
The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.Protobuf enum
google.cloud.compute.v1.SecurityPolicy.Type| Enum Constant and Description |
|---|
CLOUD_ARMOR
CLOUD_ARMOR = 260640373; |
CLOUD_ARMOR_EDGE
CLOUD_ARMOR_EDGE = 250728775; |
CLOUD_ARMOR_NETWORK
CLOUD_ARMOR_NETWORK = 488527428; |
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_ARMOR_EDGE_VALUE
CLOUD_ARMOR_EDGE = 250728775; |
static int |
CLOUD_ARMOR_NETWORK_VALUE
CLOUD_ARMOR_NETWORK = 488527428; |
static int |
CLOUD_ARMOR_VALUE
CLOUD_ARMOR = 260640373; |
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static SecurityPolicy.Type |
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<SecurityPolicy.Type> |
internalGetValueMap() |
static SecurityPolicy.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SecurityPolicy.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SecurityPolicy.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityPolicy.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityPolicy.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final SecurityPolicy.Type CLOUD_ARMOR
CLOUD_ARMOR = 260640373;public static final SecurityPolicy.Type CLOUD_ARMOR_EDGE
CLOUD_ARMOR_EDGE = 250728775;public static final SecurityPolicy.Type CLOUD_ARMOR_NETWORK
CLOUD_ARMOR_NETWORK = 488527428;public static final SecurityPolicy.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int CLOUD_ARMOR_VALUE
CLOUD_ARMOR = 260640373;public static final int CLOUD_ARMOR_EDGE_VALUE
CLOUD_ARMOR_EDGE = 250728775;public static final int CLOUD_ARMOR_NETWORK_VALUE
CLOUD_ARMOR_NETWORK = 488527428;public static SecurityPolicy.Type[] values()
for (SecurityPolicy.Type c : SecurityPolicy.Type.values()) System.out.println(c);
public static SecurityPolicy.Type 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 SecurityPolicy.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SecurityPolicy.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SecurityPolicy.Type> 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 SecurityPolicy.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.