public static enum ScanConfig.RiskLevel extends Enum<ScanConfig.RiskLevel> implements com.google.protobuf.ProtocolMessageEnum
Scan risk levels supported by Cloud Web Security Scanner. LOW impact scanning will minimize requests with the potential to modify data. To achieve the maximum scan coverage, NORMAL risk level is recommended.Protobuf enum
google.cloud.websecurityscanner.v1beta.ScanConfig.RiskLevel| Enum Constant and Description |
|---|
LOW
Lower impact scanning
|
NORMAL
Normal scanning (Recommended)
|
RISK_LEVEL_UNSPECIFIED
Use default, which is NORMAL.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOW_VALUE
Lower impact scanning
|
static int |
NORMAL_VALUE
Normal scanning (Recommended)
|
static int |
RISK_LEVEL_UNSPECIFIED_VALUE
Use default, which is NORMAL.
|
| Modifier and Type | Method and Description |
|---|---|
static ScanConfig.RiskLevel |
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<ScanConfig.RiskLevel> |
internalGetValueMap() |
static ScanConfig.RiskLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ScanConfig.RiskLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScanConfig.RiskLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanConfig.RiskLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanConfig.RiskLevel RISK_LEVEL_UNSPECIFIED
Use default, which is NORMAL.
RISK_LEVEL_UNSPECIFIED = 0;public static final ScanConfig.RiskLevel NORMAL
Normal scanning (Recommended)
NORMAL = 1;public static final ScanConfig.RiskLevel LOW
Lower impact scanning
LOW = 2;public static final ScanConfig.RiskLevel UNRECOGNIZED
public static final int RISK_LEVEL_UNSPECIFIED_VALUE
Use default, which is NORMAL.
RISK_LEVEL_UNSPECIFIED = 0;public static final int NORMAL_VALUE
Normal scanning (Recommended)
NORMAL = 1;public static final int LOW_VALUE
Lower impact scanning
LOW = 2;public static ScanConfig.RiskLevel[] values()
for (ScanConfig.RiskLevel c : ScanConfig.RiskLevel.values()) System.out.println(c);
public static ScanConfig.RiskLevel 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 ScanConfig.RiskLevel valueOf(int value)
forNumber(int) instead.public static ScanConfig.RiskLevel forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ScanConfig.RiskLevel> 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 ScanConfig.RiskLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.