public static enum ScanConfig.RiskLevel extends Enum<ScanConfig.RiskLevel> implements 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 Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ScanConfig.RiskLevel> |
internalGetValueMap() |
static ScanConfig.RiskLevel |
valueOf(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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ScanConfig.RiskLevel valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ScanConfig.RiskLevel forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ScanConfig.RiskLevel> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static ScanConfig.RiskLevel valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.